JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/5234353
json
{
  "response": {
    "fps": 30,
    "fps_avg": 29,
    "entities_count": 104272,
    "world_seed": 0,
    "world_size": 4250,
    "steam_id": "90286592280851462",
    "domain": null,
    "id": 5234353,
    "ip": "51.222.245.218",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Montreal",
    "description": "![The Rusting Dead | Zombies | Hardcore](https://i.imgur.com/o44bD3y.jpg)\nJust wiped - April 2nd, 2026.\r\n\r\nQuick Rundown\r\n- Hardcore PvP\r\n- Max Group Size 4\r\n- Zombies – Carry ZVIRUS - NO CURE.\r\n- No Tech Tree\r\n- Gather Rate- 0.5X\r\n- Monthly Map & BP Wipes\r\n- Over 1000 Walkers\r\n- Raidable Bases, DLC Shopkeeper, Quests\r\n\r\nImportant Dates-\r\n- Last Map Wipe- 4/02/26\r\n- Next Map Wipe- 5/07/26\r\n\r\nSurvive against players, zombies, and the elements in The Rusting Dead. With scarce loot, escalating quest rewards, and an intense survival experience powered by 150+ plugins, will you endure the horror?\r\n\r\nConnect Now-\r\nDiscord- Discord.gg/YYQbjwfzty\r\nServer IP- 51.222.245.218-28015",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780315455,
    "last_online": 1780585835,
    "icon": null,
    "name": "The Rusting Dead | Zombies | Hardcore",
    "connect": "51.222.245.218:28015",
    "request": "51.222.245.218:28017",
    "map": "Procedural",
    "gamemode": "Hardcore",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "CA",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1721207698,
    "last_update": 1780585835,
    "banned": false,
    "wipe": 1778177389,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2856,
    "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/5234353");
$data = json_decode($json, true);
var_dump($data);