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

text
https://api.gamemonitoring.ru/servers/20033657
json
{
  "response": {
    "add_date": 1794479334,
    "app": {
      "id": 1629104,
      "name": "Counter-Strike: Global Offensive",
      "steam_id": 4465480,
      "url": "counter-strike-global-offensive"
    },
    "color": 0,
    "connect": "2.26.10.162:27123",
    "country": "RU",
    "domain": null,
    "game": 4465480,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 20033657,
    "ip": "2.26.10.162",
    "language": "ru",
    "last_update": 1794683113,
    "map": "de_dust2",
    "maxplayers": 56,
    "name": "❤️ СОКОЛ DUST2 ❤️",
    "numplayers": 49,
    "official": null,
    "points": 115,
    "port": 27123,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 27123,
    "request": "2.26.10.162:27123",
    "secured": true,
    "status": true,
    "steam_id": null,
    "version": "1.38.8.1",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Москва",
    "description": null,
    "disabled_modules": [],
    "gamemode": "ЭПOXA 00-x | Заходи и играй!",
    "hidden": false,
    "last_offline": null,
    "last_online": 1794683113,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 65,
    "wipe_period": null,
    "listentype": "d",
    "environment": "l",
    "a2s_protocol": 17
  }
}

Примеры кода

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