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

text
https://api.gamemonitoring.ru/servers/12451086
json
{
  "response": {
    "fps": 30,
    "fps_avg": 30,
    "entities_count": 27091,
    "world_seed": 0,
    "world_size": 2500,
    "steam_id": "90289419641784348",
    "domain": null,
    "id": 12451086,
    "ip": "173.170.243.109",
    "port": 28018,
    "query": 28020,
    "project_id": null,
    "color": 0,
    "city": "Riverview",
    "description": null,
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1784750486,
    "last_online": 1784723488,
    "icon": null,
    "name": "The Rust Experiment - Testing Server",
    "connect": "173.170.243.109:28018",
    "request": "173.170.243.109:28020",
    "map": "Procedural Map",
    "gamemode": "Hardcore",
    "version": "2631",
    "numplayers": 0,
    "maxplayers": 25,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1784669502,
    "last_update": 1784750486,
    "ban_reason": null,
    "banned": false,
    "wipe": 1784722946,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 14337,
    "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/12451086");
$data = json_decode($json, true);
var_dump($data);