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

text
https://api.gamemonitoring.ru/servers/9500707
json
{
  "response": {
    "fps": 118,
    "fps_avg": 117,
    "entities_count": 52792,
    "world_seed": 1337,
    "world_size": 3500,
    "steam_id": "90286614759153673",
    "domain": "rust.incunt.ru",
    "id": 9500707,
    "ip": "46.37.128.80",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Vladivostok",
    "description": "[{\"id\":\"gSyJr7Exl1\",\"type\":\"image\",\"data\":{\"caption\":\"\",\"withBorder\":false,\"withBackground\":false,\"stretched\":false,\"file\":{\"url\":\"https://cdn.gamemonitoring.net/images/content/82d963c8-aca9-4944-874a-583ee23ba02a.png\"}}},{\"id\":\"1asgfhzpr\",\"type\":\"paragraph\",\"data\":{\"text\":\"Русский • English • 简体中文 • 日本語 • 한국어\\n\"}},{\"id\":\"beh2zofqp\",\"type\":\"paragraph\",\"data\":{\"text\":\"Improved classic for dynamic gameplay:\\n• Balanced X2 rates\\n• Map: 3500 | validated monuments | railroads | ziplines\\n• Speed: Craft x2 | Mix x2 | Recycler x4 | Smelt x4\\n• Stacks: Resources x5 | Others x2 | Gunpowder 1500\\n• Short night (5-10 min)\\n\"}},{\"id\":\"moljcvc0h\",\"type\":\"paragraph\",\"data\":{\"text\":\"Features:\\n• 5 languages supported\\n• Loot cases for online time\\n• Unlimited: NPC & Shops Purchases, Teams, Turrets\\n• Safe zones: Recyclers, Workbenches, etc.\\n• Home marketplace at PC station\\n• No vehicle decay in TC range\\n• 40% recycler on all workbenches\\n• Research table returns researched item\\n• Repair & Refill: no max durability loss\\n• Air vehicles in Outpost\\n• Boomboxes on all vehicles\\n• Real radio stations\\n\"}},{\"id\":\"dQ52gHItgz\",\"type\":\"paragraph\",\"data\":{\"text\":\"Map wipe: Fridays 18:00 GMT+10\\nBP wipe: Every 2 weeks\"}},{\"id\":\"WvHpoiWXtB\",\"type\":\"paragraph\",\"data\":{\"text\":\"Discord: incunt.ru/discord\\nTelegram: incunt.ru/telegram\"}}]",
    "game": 252490,
    "owner": 122402,
    "boosts": 1,
    "last_offline": 1780522415,
    "last_online": 1780658420,
    "icon": null,
    "name": "Incunt Rust - Modded | x2 | NoLimit | Monday",
    "connect": "rust.incunt.ru:28015",
    "request": "46.37.128.80:28016",
    "map": "RU EN 中文 日 한글",
    "gamemode": "Vanilla",
    "version": "2627",
    "numplayers": 1,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 90,
    "add_date": 1749407750,
    "last_update": 1780658420,
    "banned": false,
    "wipe": 1780522554,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 1,
    "pvp": 1,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 402,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": {
      "username": "of_lex",
      "avatar": "no.jpg"
    },
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/9500707");
$data = json_decode($json, true);
var_dump($data);