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

text
https://api.gamemonitoring.ru/servers/16779565
json
{
  "response": {
    "add_date": 1789899101,
    "app": {
      "id": 2,
      "name": "Counter-Strike 2",
      "steam_id": 730,
      "url": "counter-strike-2"
    },
    "color": 0,
    "connect": "88.214.55.46:10027",
    "country": "IL",
    "domain": null,
    "game": 730,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 16779565,
    "ip": "88.214.55.46",
    "language": "he",
    "last_update": 1793673883,
    "map": "ar_lunacy",
    "maxplayers": 12,
    "name": "⏵ CS2IL | Flying Scoutsman #1 | ISRAEL ⏴",
    "numplayers": 0,
    "official": null,
    "points": 0,
    "port": 10027,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 10027,
    "request": "88.214.55.46:10027",
    "secured": true,
    "status": false,
    "steam_id": "85568392936374716",
    "version": "1.41.9.2",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Кирьят-Ата",
    "description": null,
    "disabled_modules": [],
    "gamemode": "Counter-Strike 2",
    "hidden": false,
    "last_offline": 1793673883,
    "last_online": 1792948922,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 20791,
    "wipe_period": null,
    "os": "l",
    "region": -1,
    "product": "cs2",
    "gametype": "empty,secure",
    "dedicated": true
  }
}

Примеры кода

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