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

text
https://api.gamemonitoring.ru/servers/1542826
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 1542826,
    "ip": "185.70.107.18",
    "port": 39501,
    "query": 39501,
    "color": 0,
    "city": "Moscow",
    "description": "",
    "game": 1012110,
    "owner": null,
    "boosts": 1,
    "last_offline": 1777020194,
    "score": null,
    "last_online": 1777650654,
    "icon": null,
    "name": "MCV Official | № 7  | Eastern Europe",
    "connect": "185.70.107.18:39501",
    "request": "185.70.107.18:39501",
    "map": "mcv_jungle",
    "gamemode": "Classic | TeamDeathmatch",
    "version": "1.38.0.0",
    "numplayers": 0,
    "maxplayers": 18,
    "bots": 12,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1697618025,
    "last_update": 1777650654,
    "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": 8,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 1611160,
      "steam_id": 1012110,
      "name": "Military Conflict: Vietnam",
      "url": "military-conflict-vietnam"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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