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

text
https://api.gamemonitoring.ru/servers/10543839
json
{
  "response": {
    "steam_id": "90276246617965578",
    "domain": null,
    "id": 10543839,
    "ip": "173.240.155.101",
    "port": 9058,
    "query": 9059,
    "color": 0,
    "city": "Los Angeles",
    "description": null,
    "game": 1621690,
    "owner": null,
    "boosts": 1,
    "last_offline": 1774156928,
    "score": 0,
    "last_online": 1775977858,
    "icon": null,
    "name": "The Iron Slums",
    "connect": "173.240.155.101:9058",
    "request": "173.240.155.101:9059",
    "map": null,
    "gamemode": "Core Keeper",
    "version": "1.1.2.6-1c3e",
    "numplayers": 0,
    "maxplayers": 15,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1762521268,
    "last_update": 1775977858,
    "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": 147,
    "language": "en",
    "parked": false,
    "app": {
      "id": 1560042,
      "steam_id": 1621690,
      "name": "Core Keeper",
      "url": "core-keeper"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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