JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/9884538
json
{
  "response": {
    "fps": 82,
    "fps_avg": 72,
    "entities_count": 75464,
    "world_seed": 151184424,
    "world_size": 3500,
    "steam_id": "90285573446604803",
    "domain": null,
    "id": 9884538,
    "ip": "95.50.97.86",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Poznan",
    "description": "![![PL]--==[ Koldrix GROUP ]==--](https://koldrix.com/images/KG_Logo_Rust.png)\nPolski Serwer Rust\r\n + Map 3500\r\n + Low Decay 50%\r\n + Zombie!\r\n + High Stacks\r\n + InfoPanel\r\n + Minicopter Spawn\r\n\r\n Admin: Wo0t \r\n TS3: voip.koldrix.com",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1778286783,
    "score": 0,
    "last_online": 1778596817,
    "icon": null,
    "name": "![PL]--==[ Koldrix GROUP ]==--",
    "connect": "95.50.97.86:28015",
    "request": "95.50.97.86:28017",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 7,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "PL",
    "status": true,
    "votes": 0,
    "points": 67,
    "add_date": 1753696246,
    "last_update": 1778596817,
    "banned": false,
    "wipe": 1778176281,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 989,
    "language": "pl",
    "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/9884538");
$data = json_decode($json, true);
var_dump($data);