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

text
https://api.gamemonitoring.ru/servers/11159758
json
{
  "response": {
    "fps": 56,
    "fps_avg": 54,
    "entities_count": 80074,
    "world_seed": 508940668,
    "world_size": 3750,
    "steam_id": "90286604974065692",
    "domain": null,
    "id": 11159758,
    "ip": "66.51.96.69",
    "port": 28080,
    "query": 28081,
    "color": 0,
    "city": "Ashburn",
    "description": "![Altopia - Modded | Raid Bases | Community | Biplane](https://i.ibb.co/zWYqVwZQ/altopia2024header.png)\nWelcome to Altopia!  A friendly rust community Featuring Submarine Water Event, Armored Train, Convoy, Biplanes and\r\nparachutes at Airfield, lockable vehicles, increased stack sizes and TC decay protection!\r\n\r\nPlease be kind to each other, no toxicity, racism or harassment will be tolerated\r\n\r\nServer still growing, events rotated monthly.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780598667,
    "last_online": 1780599631,
    "icon": null,
    "name": "Altopia - Modded | Raid Bases | Community | Biplane",
    "connect": "66.51.96.69:28080",
    "request": "66.51.96.69:28081",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 3,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1772228139,
    "last_update": 1780599631,
    "banned": false,
    "wipe": 1780599110,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5379,
    "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/11159758");
$data = json_decode($json, true);
var_dump($data);