JSON dla programów, stron i innych

text
https://api.gamemonitoring.pl/servers/11501920
json
{
  "response": {
    "fps": 93,
    "fps_avg": 93,
    "entities_count": 138707,
    "world_seed": 1659469935,
    "world_size": 4250,
    "steam_id": "90286212822256654",
    "domain": null,
    "id": 11501920,
    "ip": "185.207.214.248",
    "port": 35200,
    "query": 35210,
    "color": 0,
    "city": "Moscow",
    "description": "![[RU|TR|KZ]-RustG-[Unlimited][InstaCraft][Classic]](https://pic.survivalhost.org/images/2019/04/07/712bc4d43d8fd5c68118d71d48125d26.png)\n[RU|TR|KZ]RustG \r\n >Wipe раз в месяц \r\n >Никаких \r\n >Unlimited \r\n >Гибкие слоты \r\n >Хороший анти-чит \r\n >Приятной игры",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780608211,
    "last_online": 1779915623,
    "icon": null,
    "name": "[RU|TR|KZ]-RustG-[Unlimited][InstaCraft][Classic]",
    "connect": "185.207.214.248:35200",
    "request": "185.207.214.248:35210",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1779207184,
    "last_update": 1780608211,
    "banned": false,
    "wipe": 1778223476,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 10982,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Przykłady kodu

php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/11501920");
$data = json_decode($json, true);
var_dump($data);