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

text
https://api.gamemonitoring.ru/servers/11502894
json
{
  "response": {
    "fps": 225,
    "fps_avg": 223,
    "entities_count": 34485,
    "world_seed": 1782802638,
    "world_size": 2500,
    "steam_id": "90286506463782923",
    "domain": null,
    "id": 11502894,
    "ip": "103.15.237.82",
    "port": 29390,
    "query": 29391,
    "project_id": null,
    "color": 0,
    "city": "Melbourne",
    "description": "![[AU] DISTRICT NINE | 3x | PVP | BETTER LOOT | KITS | MYMINI](https://u.cubeupload.com/TheyCallMeLux/ServerHeader.png)\nWelcome to District Nine  \r\nThe scientists are angry\r\nthe clans are toxic\r\nand the oil rig never sleeps.\r\n3x • PVP • Raids • Events • AU Hosted\r\nIf you hear a minicopter at 3AM… it’s already too late.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780061024,
    "last_online": 1780673436,
    "icon": null,
    "name": "[AU] DISTRICT NINE | 3x | PVP | BETTER LOOT | KITS | MYMINI",
    "connect": "103.15.237.82:29390",
    "request": "103.15.237.82:29391",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 40,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "AU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779207225,
    "last_update": 1780673436,
    "banned": false,
    "wipe": 1778668801,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4990,
    "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/11502894");
$data = json_decode($json, true);
var_dump($data);