JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/261684
json
{
  "response": {
    "fps": 73,
    "fps_avg": 72,
    "entities_count": 87472,
    "world_seed": 3511,
    "world_size": 3500,
    "steam_id": "90286538547877892",
    "domain": null,
    "id": 261684,
    "ip": "185.189.255.197",
    "port": 35000,
    "query": 35010,
    "color": 0,
    "city": "Moscow",
    "description": "![Outland Rust X100|CLANS|KITS|TP|BLOODY|DUEL| WIPE 25.05](http://pic.moscow.ovh/images/2018/07/08/383e39d4aa623f5e1a39d1768cacfe1d.jpg)\n[OUTLAND RUST]\r\n●Разрешены мышки BLOODY и другие\r\n●Ускоренная добыча всех ресурсов\r\n●Procedural Map карта (размером 3550)\r\n●Быстрый крафт предметов\r\n●Рейты: x100 (Ресурсы), x10 (Скрап), x10 (Компоненты)\r\n●Команды: /kit, /remove, /home, /trade, /skin, /shop, /duel и др.\r\n●Полный список команд: /help\r\n●Группа ВК: vk.com/outland_rust\r\n●Магазин: outland-rust.ru",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780102412,
    "last_online": 1780606233,
    "icon": null,
    "name": "Outland Rust X100|CLANS|KITS|TP|BLOODY|DUEL| WIPE 25.05",
    "connect": "185.189.255.197:35000",
    "request": "185.189.255.197:35010",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 1,
    "maxplayers": 80,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1583141368,
    "last_update": 1780606233,
    "banned": false,
    "wipe": 1779701936,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2957,
    "language": "ru",
    "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/261684");
$data = json_decode($json, true);
var_dump($data);