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

text
https://api.gamemonitoring.ru/servers/13705835
json
{
  "response": {
    "os": "w",
    "region": -1,
    "product": "252490",
    "gametype": "mp500,cp2,ptrak,qp0,$r?,v2632,born1786674181,gmrust,cs160556,ts8",
    "dedicated": true,
    "steam_id": "90290843696128013",
    "domain": null,
    "id": 13705835,
    "ip": "178.166.173.83",
    "port": 28015,
    "query": 28016,
    "project_id": null,
    "color": 0,
    "city": "Krasnoyarsk",
    "description": null,
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1786674765,
    "last_online": 1786678800,
    "icon": null,
    "name": "My Server Name",
    "connect": "178.166.173.83:28015",
    "request": "178.166.173.83:28016",
    "map": "Procedural Map",
    "gamemode": null,
    "version": "2632",
    "numplayers": 2,
    "maxplayers": 500,
    "bots": 0,
    "secured": true,
    "private": null,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1786674765,
    "last_update": 1786678800,
    "ban_reason": null,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 11913,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": [],
    "map_url": null
  }
}

Примеры кода

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