JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11502127
json
{
  "response": {
    "fps": 218,
    "fps_avg": 219,
    "entities_count": 120609,
    "world_seed": 132578853,
    "world_size": 4500,
    "steam_id": "90286573902356499",
    "domain": null,
    "id": 11502127,
    "ip": "46.181.239.168",
    "port": 35100,
    "query": 35101,
    "color": 0,
    "city": "Kemerovo",
    "description": "![RustHunter Vanilla X2 [Ryzen9950x]](https://wallpapers.com/images/file/rust-space-suit-v6909tftywztor6m.jpg)\nДобро пожаловать, Растхантер!\r\n > Размер карты 4500, Gameplay Vanilla X2\r\n > Размер стака Vanilla X2 Ресурсы Vanilla X2\r\n > Потребление ресурсов домом снижено до 40% \r\n > Бесплатные (Free) Skin по команде /skin \r\n > В основе сервера быстрый Ryzen9950X на 5,7GHz, 32Gb, SSD M2-Pci5\r\n > StartBonus, DaylyBonus, OnlineBonus\r\n > Wipe Global и третья пятница месяца в 01:00 по МСК, чертежи раз в месяц",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780524268,
    "last_online": 1780588832,
    "icon": null,
    "name": "RustHunter Vanilla X2 [Ryzen9950x]",
    "connect": "46.181.239.168:35100",
    "request": "46.181.239.168:35101",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 1,
    "maxplayers": 300,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779207191,
    "last_update": 1780588832,
    "banned": false,
    "wipe": 1779401456,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4909,
    "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/11502127");
$data = json_decode($json, true);
var_dump($data);