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

text
https://api.gamemonitoring.ru/servers/15256558
json
{
  "response": {
    "fps": 30,
    "fps_avg": 30,
    "map_url": "procedural_map_3700_seed_574169878_r288",
    "map_kind": "procedural",
    "map_name": "Procedural Map",
    "map_seed": 574169878,
    "map_size": 3700,
    "map_revision": 288,
    "entities_count": 86352,
    "steam_id": "90292229101113362",
    "domain": null,
    "id": 15256558,
    "ip": "66.51.96.59",
    "port": 28005,
    "query": 28006,
    "project_id": null,
    "color": 0,
    "city": "Ашберн",
    "description": null,
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1788648901,
    "last_online": 1788656599,
    "icon": null,
    "name": "Rusted Raiders 2x",
    "connect": "66.51.96.59:28005",
    "request": "66.51.96.59:28006",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2633",
    "numplayers": 3,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 32,
    "add_date": 1788648901,
    "last_update": 1788656599,
    "ban_reason": null,
    "banned": false,
    "hidden": false,
    "wipe": 1788648369,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 6608,
    "language": "en",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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