JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11159592
json
{
  "response": {
    "fps": 109,
    "fps_avg": 105,
    "entities_count": 102774,
    "world_seed": 914692808,
    "world_size": 4250,
    "steam_id": "90285581168834575",
    "domain": null,
    "id": 11159592,
    "ip": "51.161.47.247",
    "port": 2270,
    "query": 2271,
    "color": 0,
    "city": "Montreal",
    "description": "![Canadian Ricecakes | 05/07](https://photos.smugmug.com/Art/Pics/i-WjJHjPG/0/L2T6xcBbSBw3XQVCmLXXBtZkMBRPJ23PL5FMB79b2/O/CWTheader.png)\n\r\n* Monthly, Low pop, anything goes.\r\n* Wiped 05 / 07\r\n* Last Updated 2026 05 / 10\r\n* Restarted 2026 05 / 10 / 8:43 am EST\r\n* Vanilla\r\n* Size - 4250\r\n* Seed - 914692808\r\n* Hosted by Scalacube Servers",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1778194384,
    "score": 0,
    "last_online": 1778594417,
    "icon": null,
    "name": "Canadian Ricecakes | 05/07",
    "connect": "51.161.47.247:2270",
    "request": "51.161.47.247:2271",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 4,
    "maxplayers": 30,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "CA",
    "status": true,
    "votes": 0,
    "points": 65,
    "add_date": 1772228134,
    "last_update": 1778594417,
    "banned": false,
    "wipe": 1778194522,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1151,
    "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/11159592");
$data = json_decode($json, true);
var_dump($data);