JSON для программ, сайтов и прочего

text
https://api.gamemonitoring.ru/servers/17845554
json
{
  "response": {
    "add_date": 1791319255,
    "app": {
      "id": 12,
      "name": "Rust",
      "steam_id": 252490,
      "url": "rust"
    },
    "color": 0,
    "connect": "90.146.82.82:28035",
    "country": "AT",
    "domain": null,
    "game": 252490,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 17845554,
    "ip": "90.146.82.82",
    "language": "de",
    "last_update": 1794766834,
    "map": "Procedural Map",
    "maxplayers": 10,
    "name": "Testing",
    "numplayers": 0,
    "official": null,
    "points": 30,
    "port": 28035,
    "private": null,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 28036,
    "request": "90.146.82.82:28036",
    "secured": true,
    "status": true,
    "steam_id": "90297495709140999",
    "version": "2636",
    "votes": 0,
    "wipe": 1794050346,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Линц",
    "description": null,
    "disabled_modules": [],
    "gamemode": null,
    "hidden": false,
    "last_offline": 1794765132,
    "last_online": 1794766834,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 11019,
    "wipe_period": null,
    "os": "l",
    "region": -1,
    "product": "252490",
    "gametype": "mp10,cp0,ptrak,qp0,$r?,v2634,born1791318700,gmvanilla,cs166652,ts8,^z,^y",
    "map_name": "Procedural Map",
    "dedicated": true,
    "queueplayers": 0
  }
}

Примеры кода

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