JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11769839
json
{
  "response": {
    "fps": 30,
    "fps_avg": 30,
    "entities_count": 67267,
    "world_seed": 1561252362,
    "world_size": 3500,
    "steam_id": "90286761870005258",
    "domain": null,
    "id": 11769839,
    "ip": "150.107.34.155",
    "port": 28015,
    "query": 27015,
    "project_id": null,
    "color": 0,
    "city": "Auckland",
    "description": "![RuggedNZ Wasteland](https://i.imgur.com/QDEcmw7.png)\nRuggedNZ Wasteland [Solo/Duo/Trio] - NZ's Ultimate QoL Rust Server!\r\n\r\nDive into intense, balanced survival on our Oceanic powerhouse – 0ms ping for Kiwis, buttery smooth for Aussies! Mature community, zero toxicity tolerance, half upkeep, roaming NPCs, dynamic convoys, & road-spawning minicopters for epic action.\r\n\r\nWipes: Bi-weekly maps | Quarterly BPs (Dec/Mar/Jun/Sep). 50 slots | x1 Gather | 3500 Map.\r\n\r\nJoin the RuggedNZ life NOW!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780935208,
    "last_online": 1780972832,
    "icon": null,
    "name": "RuggedNZ Wasteland",
    "connect": "150.107.34.155:28015",
    "request": "150.107.34.155:27015",
    "map": "RustMaps Custom Generation",
    "gamemode": "Vanilla",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "NZ",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1780935208,
    "last_update": 1780972832,
    "banned": false,
    "wipe": 1780601064,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 6122,
    "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/11769839");
$data = json_decode($json, true);
var_dump($data);