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

text
https://api.gamemonitoring.ru/servers/10871273
json
{
  "response": {
    "fps": 60,
    "fps_avg": 59,
    "map_url": "ezproc_survival_sep26",
    "map_kind": "custom",
    "map_name": "Ez Proc Survival SEP26",
    "map_seed": 478495594,
    "map_size": 4500,
    "map_revision": null,
    "entities_count": 120472,
    "steam_id": "90292100797556752",
    "domain": null,
    "id": 10871273,
    "ip": "15.235.216.54",
    "port": 29014,
    "query": 28014,
    "project_id": null,
    "color": 0,
    "city": "Сингапур",
    "description": "![[SEA] RustEZ Survival PvE | No Decay | No Raiding | No Killing](https://www.rustez.com/uploads/manual/headers/server/survivalhead.jpg)\nSurvival is a well-balanced, high-performance modded server focused on expanded automation, giving players more ways to build, manage resources, and improve their gameplay experience.\r\n\r\nInformation\r\n● Decay and upkeep disabled\r\n● Player and building damage disabled\r\n● Monthly wipes [Last wipe: 9/3]\r\n● Active admins and very helpful community\r\n● Inactive players removed after 10 days of inactivity\r\n\r\nFeatures\r\n● Expanded Automation: Connect much more with pipes than vanilla\r\n● Backpacks: Add additional backpacks into attire slots\r\n● Teleporting: Teleport to players and any placed bed/bag\r\n● Beacons: Deploy beacons at landmarks to teleport\r\n● Revive: Restore your last position leading up to death\r\n● Black Market: Buy and sell resources, items, and more for networth\r\n● Trade: Remote trades with other players from the comfort of your base\r\n● Auto Upgrade: Upgrade your base automatically via cupboard\r\n● Sorter: Sort items in containers with a click of a button\r\n● Remover Tool: Use a salvaged hammer to pick things up or destroy them\r\n● Challenges: Complete challenges to unlock rewards\r\n● Skills: Gain XP from resource gathering to increase efficiency\r\n● Entity Levels: Upgrade production entities to boost your outputs\r\n● Stacks+: All stacks are increased to remove the tedium of storage\r\n● Portable Vehicles: Deploy vehicles from your hotbar\r\n● Instancing: Use public facilities like quarries and GE at the same time as other players\r\n\r\nUse /info in chat for a full list of commands, rules and helpful info.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1788458451,
    "last_online": 1788511235,
    "icon": null,
    "name": "[SEA] RustEZ Survival PvE | No Decay | No Raiding | No Killing",
    "connect": "15.235.216.54:29014",
    "request": "15.235.216.54:28014",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2633",
    "numplayers": 6,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "SG",
    "status": true,
    "votes": 0,
    "points": 62,
    "add_date": 1768318548,
    "last_update": 1788511235,
    "ban_reason": null,
    "banned": false,
    "hidden": false,
    "wipe": 1788458814,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 1,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1388,
    "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/10871273");
$data = json_decode($json, true);
var_dump($data);