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

text
https://api.gamemonitoring.ru/servers/13584380
json
{
  "response": {
    "add_date": 1786229128,
    "app": {
      "id": 172,
      "name": "Avorion",
      "steam_id": 445220,
      "url": "avorion"
    },
    "color": 0,
    "connect": "172.240.218.233:27000",
    "country": "US",
    "domain": null,
    "game": 445220,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 13584380,
    "ip": "172.240.218.233",
    "language": "en",
    "last_update": 1791092806,
    "map": "4Netplayers",
    "maxplayers": 10,
    "name": "4Netplayers - Syndicate of the Twin Stars",
    "numplayers": 0,
    "official": null,
    "points": 0,
    "port": 27000,
    "private": true,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 27020,
    "request": "172.240.218.233:27020",
    "secured": true,
    "status": false,
    "steam_id": "90293493492622341",
    "version": "2.5.13.44140",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Даллас",
    "description": "Avorion Server powered by 4Netplayers",
    "disabled_modules": [],
    "gamemode": "Avorion",
    "hidden": false,
    "last_offline": 1791092806,
    "last_online": 1790576195,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 369,
    "wipe_period": null,
    "scenario": "Normal",
    "tutorial": "no",
    "difficulty": "Veteran",
    "listentype": "l",
    "environment": "w",
    "a2s_protocol": 17,
    "collision_damage": "Off",
    "mod_achievements": "yes",
    "players_complete": true,
    "same_start_sector": "yes"
  }
}

Примеры кода

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