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

text
https://api.gamemonitoring.ru/servers/19758232
json
{
  "response": {
    "add_date": 1794016761,
    "app": {
      "id": 1980,
      "name": "Euro Truck Simulator 2",
      "steam_id": 227300,
      "url": "euro-truck-simulator-2"
    },
    "color": 0,
    "connect": "77.113.74.110:27015",
    "country": "US",
    "domain": null,
    "game": 227300,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 19758232,
    "ip": "77.113.74.110",
    "language": "en",
    "last_update": 1794762925,
    "map": "mapaeaa",
    "maxplayers": 8,
    "name": "GOB Express",
    "numplayers": 0,
    "official": null,
    "points": 0,
    "port": 27015,
    "private": null,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 27016,
    "request": "77.113.74.110:27016",
    "secured": false,
    "status": false,
    "steam_id": "85568392936988570",
    "version": null,
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Колумбус",
    "description": null,
    "disabled_modules": [],
    "gamemode": null,
    "hidden": false,
    "last_offline": 1794762925,
    "last_online": 1794028050,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 2374,
    "wipe_period": null,
    "os": "l",
    "region": -1,
    "product": "eut2",
    "gametype": "ZABlAEsBIwA=",
    "dedicated": false
  }
}

Примеры кода

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