JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11502657
json
{
  "response": {
    "fps": 120,
    "fps_avg": 121,
    "entities_count": 106398,
    "world_seed": 60850350,
    "world_size": 4500,
    "steam_id": "90286362005365781",
    "domain": null,
    "id": 11502657,
    "ip": "50.40.102.29",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Decatur",
    "description": "![Poon Plowers | Monthly | Vanilla | No BP wipe](https://i.imgur.com/sYqOhb6.jpeg)\n!discord https://discord.gg/csSc3uJKju \r\n!wipe Map Wipe first Thursday of the month Last BP wipe 05/2026 \r\n4.5k map size\r\nNo BP wipe unless forced\r\nMini's Spawn on road\r\nNo Racism you will be banned without warning\r\nNo VAC/Game bans in the last year | 2 or more not allowed",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780607607,
    "last_online": 1780060969,
    "icon": null,
    "name": "Poon Plowers | Monthly | Vanilla | No BP wipe",
    "connect": "50.40.102.29:28015",
    "request": "50.40.102.29:28017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1779207208,
    "last_update": 1780607607,
    "banned": false,
    "wipe": 1778177747,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 11173,
    "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/11502657");
$data = json_decode($json, true);
var_dump($data);