JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11501702
json
{
  "response": {
    "fps": 37,
    "fps_avg": 37,
    "entities_count": 221642,
    "world_seed": 1,
    "world_size": 5952,
    "steam_id": "90286589856728082",
    "domain": null,
    "id": 11501702,
    "ip": "199.115.73.156",
    "port": 9070,
    "query": 9073,
    "color": 0,
    "city": "The Hague",
    "description": "![[GER] Last Green Zone | PvP /PvE | Zombies | UK-Map | Quests |](https://www.dropbox.com/scl/fi/8p0eiwsoomtft7oi3yezo/high_im_outpost_1024x512_final.png?rlkey=db5stm7getl3junh9ym8dowdz&st=ycgnvfsd&dl=1)\nWillkommen in The Last Green Zone\r\n\r\nDeutscher Survival PvE Server mit Fokus auf langfristigen Basebau, gefährliche Nächte und echtes PvE-Gameplay.\r\n• PVP Zonen\r\n• Keine Spieler-Raids\r\n• Kein Blueprint-Wipe\r\n•Zombies\r\n• Beleuchtete Straßen und Safe-Zonen\r\n• Mehr Tiere und gefährlichere Wildnis\r\n• Angepasster Loot\r\n• NPC-Missionen\r\n• Raidbare NPC-Basen\r\n• Faire Farmraten\r\n• Quality-of-Life\r\n\r\nGuter Loot soll verdient werden – durch Erkundung, Quests, gefährliche Zonen und PvE-Raidbasen.\r\n\r\nBaue, überlebe, erkunde und pass nachts besser auf.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779340979,
    "last_online": 1780575643,
    "icon": null,
    "name": "[GER] Last Green Zone | PvP /PvE | Zombies | UK-Map | Quests |",
    "connect": "199.115.73.156:9070",
    "request": "199.115.73.156:9073",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 40,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "NL",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779207178,
    "last_update": 1780575643,
    "banned": false,
    "wipe": 1778698951,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4780,
    "language": "nl",
    "parked": false,
    "app": {
      "id": 252490,
      "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/11501702");
$data = json_decode($json, true);
var_dump($data);