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

text
https://api.gamemonitoring.ru/servers/16209978
json
{
  "response": {
    "add_date": 1789274055,
    "app": {
      "id": 13818,
      "name": "Stormworks: Build and Rescue",
      "steam_id": 573090,
      "url": "stormworks-build-and-rescue"
    },
    "color": 0,
    "connect": "159.112.70.107:25564",
    "country": "US",
    "domain": null,
    "game": 573090,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 16209978,
    "ip": "159.112.70.107",
    "language": "en",
    "last_update": 1794762956,
    "map": "Career",
    "maxplayers": 16,
    "name": "Posix-Server",
    "numplayers": 0,
    "official": null,
    "points": 30,
    "port": 25564,
    "private": null,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 25565,
    "request": "159.112.70.107:25565",
    "secured": false,
    "status": true,
    "steam_id": "90297522262950915",
    "version": "1.0.0.0",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Нампа",
    "description": null,
    "disabled_modules": [],
    "gamemode": null,
    "hidden": false,
    "last_offline": 1794654977,
    "last_online": 1794762956,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 32,
    "wipe_period": null,
    "os": "w",
    "region": -1,
    "product": "Stormworks",
    "gametype": "v1.15.23-2-64-0",
    "dedicated": true
  }
}

Примеры кода

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