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

text
https://api.gamemonitoring.ru/servers/18520915
json
{
  "response": {
    "add_date": 1792252838,
    "app": {
      "id": 3,
      "name": "Counter-Strike",
      "steam_id": 10,
      "url": "counter-strike"
    },
    "color": 0,
    "connect": "178.214.223.77:27190",
    "country": "GB",
    "domain": null,
    "game": 10,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 18520915,
    "ip": "178.214.223.77",
    "language": "en",
    "last_update": 1792902544,
    "map": "l4d_vs_hospital01_apartment",
    "maxplayers": 32,
    "name": "[PL][1.0.4.4]Noobylicious:Just4fun Mods",
    "numplayers": 31,
    "official": null,
    "points": 127,
    "port": 27190,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 27190,
    "request": "178.214.223.77:27190",
    "secured": true,
    "status": true,
    "steam_id": null,
    "version": "1.1.2.7/Stdio",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Сити",
    "description": null,
    "disabled_modules": [],
    "gamemode": "L4D 4v4",
    "hidden": false,
    "last_offline": null,
    "last_online": 1792902544,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 15889,
    "wipe_period": null,
    "listentype": "d",
    "environment": "l",
    "a2s_protocol": 48
  }
}

Примеры кода

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