JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/10488236
json
{
  "response": {
    "fps": 79,
    "fps_avg": 77,
    "entities_count": 109138,
    "world_seed": 915994185,
    "world_size": 4500,
    "steam_id": "90286637837966347",
    "domain": null,
    "id": 10488236,
    "ip": "45.138.50.109",
    "port": 27023,
    "query": 27024,
    "project_id": null,
    "color": 0,
    "city": "Frankfurt am Main",
    "description": "![[GER] [PvE|PvP] Rust Paradise](https://i.ibb.co/nsFKYT0f/Rust-Paradise-Holywood.png)\n[GER] [PvE|PvP] Rust Paradise \r\nKommt gerne auf unseren Discord!\r\n\r\nFeatures : \r\n- Events \r\n- Skill-System \r\n- Ingame Shop \r\n- Black Market (Soon) \r\n- Rucksack \r\n- Einzigartige Custom Fahrzeuge\r\n- Und noch vieles mehr.. :)",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780595663,
    "last_online": 1780688429,
    "icon": null,
    "name": "[GER] [PvE|PvP] Rust Paradise",
    "connect": "45.138.50.109:27023",
    "request": "45.138.50.109:27024",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 5,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 64,
    "add_date": 1761122014,
    "last_update": 1780688429,
    "banned": false,
    "wipe": 1780595946,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1528,
    "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/10488236");
$data = json_decode($json, true);
var_dump($data);