JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11018101
json
{
  "response": {
    "fps": 90,
    "fps_avg": 90,
    "entities_count": 10700,
    "world_seed": 1907258496,
    "world_size": 1500,
    "steam_id": "90286537258699795",
    "domain": null,
    "id": 11018101,
    "ip": "66.51.97.60",
    "port": 28020,
    "query": 28021,
    "color": 0,
    "city": "London",
    "description": "![Atlantica - EU 5x | Bi-Weekly | PVE |](https://cdn.imgchest.com/files/75d0b05ae603.png)\nWelcome To Atlantica PVE\r\n 5X Gather \r\n Bigger Stacks\r\n Events\r\n Abandoned Bases\r\n Spawn Mini's\r\n Starter Kits\r\n Noobs Welcome\r\n Tree Houses\r\n SkinBox\r\n Automated Farms\r\n Faster Plant Growth\r\n Shop\r\n Raidable Bases\r\n Abandoned Bases",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780592004,
    "last_online": 1780454426,
    "icon": null,
    "name": "PNFS",
    "connect": "66.51.97.60:28020",
    "request": "66.51.97.60:28021",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1769944426,
    "last_update": 1780592004,
    "banned": false,
    "wipe": 1779232184,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 10673,
    "language": "en",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11018101");
$data = json_decode($json, true);
var_dump($data);