JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11644814
json
{
  "response": {
    "fps": 220,
    "fps_avg": 218,
    "entities_count": 90882,
    "world_seed": 50000,
    "world_size": 4000,
    "steam_id": "90286465123372034",
    "domain": null,
    "id": 11644814,
    "ip": "157.85.87.32",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Amsterdam",
    "description": "![[TR] UGURCANYT 5X | SOLO/DUO/TRIO | BETTERLOOT | KIT | MONTHLY](https://i.imgur.com/a3oVSca.jpeg)\n🎁 Starter Kit\r\n📦 Better Loot\r\n⚡ Auto Pickup Barrel\r\n🔥 5X Gather\r\n👥 Solo / Duo / Trio\r\n🔄 Bi-Weekly Wipe\r\n🇹🇷 Turkish Community\r\n🎮 Active Admin Team\r\n📦 Market: /s\r\n📢 YouTube: UgurcanYT",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780185235,
    "last_online": 1780549233,
    "icon": null,
    "name": "[TR] UGURCANYT 5X | SOLO/DUO/TRIO | BETTERLOOT | KIT | MONTHLY",
    "connect": "157.85.87.32:28015",
    "request": "157.85.87.32:28016",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 30,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "NL",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1780177437,
    "last_update": 1780549233,
    "banned": false,
    "wipe": 1780103158,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5690,
    "language": "nl",
    "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/11644814");
$data = json_decode($json, true);
var_dump($data);