JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11511098
json
{
  "response": {
    "fps": 198,
    "fps_avg": 201,
    "entities_count": 90558,
    "world_seed": 1337,
    "world_size": 3700,
    "steam_id": "90286449858188315",
    "domain": null,
    "id": 11511098,
    "ip": "51.254.243.130",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Roubaix",
    "description": "![IronEdge.gg [ 2x Vanilla Solo/Duo/Trio ] FULLWIPED 04.04](https://i.imgur.com/y6MRYUA.png)\nIronEdge.gg | UNIQUE LEADERBOARDS SYSTEM | Weekly Wipe Every Saturday 14:00 CEST\r\n--------------------------------\r\n- 2x Gather | Half Smelt and Craft | Fast Nights\r\n- Max Team: 3 | No Alliances\r\n- Electric BPs Unlocked | Skinbox Free\r\n- No Kits | No TP | No P2W\r\n- Active non-playing admins\r\n--------------------------------\r\nFull Wipe every week | IronEdge.gg/discord",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780572869,
    "last_online": 1780564231,
    "icon": null,
    "name": "IronEdge.gg [ 2x Vanilla Solo/Duo/Trio ] FULLWIPED 04.04",
    "connect": "51.254.243.130:28015",
    "request": "51.254.243.130:28016",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FR",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1779353838,
    "last_update": 1780572869,
    "banned": false,
    "wipe": 1775913060,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 11746,
    "language": "fr",
    "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/11511098");
$data = json_decode($json, true);
var_dump($data);