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

text
https://api.gamemonitoring.ru/servers/1390966
json
{
  "response": {
    "fps": 198,
    "fps_avg": 193,
    "entities_count": 105223,
    "world_seed": 956431,
    "world_size": 4500,
    "steam_id": "90285050854966278",
    "domain": null,
    "id": 1390966,
    "ip": "180.150.91.79",
    "port": 26010,
    "query": 26012,
    "color": 0,
    "city": "Perth",
    "description": "![Staging PVE Australia (Carbon)](https://www.mspeedie.com/images/Old_Souls.jpg)\nStaging PVE (Carbon), /F1menu to give yourself stuff.  A place to test new features and not get ganked. if you have issues contact MalS#2641 on discord.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1777320797,
    "score": null,
    "last_online": 1777324821,
    "icon": null,
    "name": "Staging PVE Australia (Carbon)",
    "connect": "180.150.91.79:26010",
    "request": "180.150.91.79:26012",
    "map": "Procedural Map",
    "gamemode": "Softcore",
    "version": "2624",
    "numplayers": 0,
    "maxplayers": 40,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "AU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1693579700,
    "last_update": 1777324821,
    "banned": false,
    "wipe": 1775128674,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2787,
    "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/1390966");
$data = json_decode($json, true);
var_dump($data);