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

text
https://api.gamemonitoring.ru/servers/17134241
json
{
  "response": {
    "add_date": 1790385128,
    "app": {
      "id": 147,
      "name": "Don't Starve Together",
      "steam_id": 322330,
      "url": "dont-starve-together"
    },
    "color": 0,
    "connect": "13.250.115.235:25000",
    "country": "SG",
    "domain": null,
    "game": 322330,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 17134241,
    "ip": "13.250.115.235",
    "language": "en",
    "last_update": 1790394238,
    "map": null,
    "maxplayers": 12,
    "name": "Beefalo Herd - Singapore - Public Server",
    "numplayers": 2,
    "official": null,
    "points": 38,
    "port": 25000,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": 0,
    "query": 25000,
    "request": "13.250.115.235:25000",
    "secured": null,
    "status": true,
    "steam_id": null,
    "version": "747465",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": null,
    "city": "Сингапур",
    "description": null,
    "disabled_modules": [],
    "gamemode": "survival",
    "hidden": false,
    "last_offline": null,
    "last_online": 1790394238,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 783,
    "wipe_period": null,
    "paused": false,
    "season": "autumn",
    "lanonly": false,
    "dedicated": true,
    "secondaries": {
      "1801813871": {
        "id": "1801813871",
        "port": 25005,
        "__addr": "13.250.115.235",
        "steamid": "90293456898590744"
      }
    },
    "clienthosted": false,
    "directory_id": "7145d2bc024b601ccb3cd442e925ddb2"
  }
}

Примеры кода

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