JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11501311
json
{
  "response": {
    "fps": 240,
    "fps_avg": 238,
    "entities_count": 13753,
    "world_seed": 1356923124,
    "world_size": 1500,
    "steam_id": "90286174932380684",
    "domain": null,
    "id": 11501311,
    "ip": "202.36.95.230",
    "port": 28608,
    "query": 28609,
    "color": 0,
    "city": "Frankfurt am Main",
    "description": "next wipe: 27.05\r\nsmall custom africa map\r\nBeginner Friendly\r\nactive admins\r\nno cheating\r\nwipes weekly\r\nvanilla",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780592013,
    "last_online": 1780019423,
    "icon": null,
    "name": "Rusty Small Solo I just wiped 24.05  24/05 I Beginner friendly",
    "connect": "202.36.95.230:28608",
    "request": "202.36.95.230:28609",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 40,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1779207170,
    "last_update": 1780592013,
    "banned": false,
    "wipe": 1779635968,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 11125,
    "language": "de",
    "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/11501311");
$data = json_decode($json, true);
var_dump($data);