JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11644846
json
{
  "response": {
    "fps": 136,
    "fps_avg": 135,
    "entities_count": 88929,
    "world_seed": 1947608861,
    "world_size": 4050,
    "steam_id": "90286190450719769",
    "domain": null,
    "id": 11644846,
    "ip": "185.66.0.167",
    "port": 28015,
    "query": 27015,
    "color": 0,
    "city": "Odense",
    "description": "![RAGNARUST x2 - Nordic/EU - MAX 8 - JUST WIPED 25/05 - 10.00](https://i.imgur.com/ERos3Xc.jpeg)\nRAGNARUST x2 | EU | MAX 8\r\n\r\nWelcome to Ragnarust—where elite gameplay meets top-tier hardware. Our server runs on the industry's best high-clock CPUs and NVMe storage to ensure a 100% lag-free experience.\r\n\r\nSERVER FEATURES:\r\n- 2x Gather Rates (Resources/Components)\r\n- Optimized Loot: No junk in high-tier crates\r\n- High-Performance EU Dedicated Hosting\r\n- Active Non-Playing Admins\r\n\r\nRULES:\r\n- Max Group Size: 8 (Strictly Enforced)\r\n- No Cheating, Scripting, or Exploits\r\n- No Racism or Excessive Toxicity\r\n- Respect the Staff and Players\r\n\r\nCOMMUNITY & SUPPORT:\\ poxixs",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780562014,
    "last_online": 1780321235,
    "icon": null,
    "name": "RAGNARUST x2 - Nordic/EU - MAX 8 - JUST WIPED 25/05 - 10.00",
    "connect": "185.66.0.167:28015",
    "request": "185.66.0.167:27015",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DK",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1780177438,
    "last_update": 1780562014,
    "banned": false,
    "wipe": 1779693703,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 12521,
    "language": "da",
    "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/11644846");
$data = json_decode($json, true);
var_dump($data);