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

text
https://api.gamemonitoring.ru/servers/5857006
json
{
  "response": {
    "steam_id": "90284830456113163",
    "domain": null,
    "id": 5857006,
    "ip": "103.170.155.10",
    "port": 2302,
    "query": 2303,
    "color": 0,
    "city": "Ашберн",
    "description": null,
    "game": 224580,
    "owner": null,
    "boosts": 1,
    "last_offline": 1771273900,
    "score": 0,
    "last_online": 1776894619,
    "icon": null,
    "name": "US 55 Vanilla Dayz Mod (1.9.0)",
    "connect": "103.170.155.10:2302",
    "request": "103.170.155.10:2303",
    "map": null,
    "gamemode": "Arma OA",
    "version": "1.64.144629",
    "numplayers": 0,
    "maxplayers": 30,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1725529718,
    "last_update": 1776894619,
    "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": 7,
    "language": "en",
    "parked": false,
    "app": {
      "id": 33381,
      "steam_id": 224580,
      "name": "Arma 2: DayZ Mod",
      "url": "arma-2-dayz-mod"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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