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

text
https://api.gamemonitoring.ru/servers/11305492
json
{
  "response": {
    "fps": 41,
    "fps_avg": 39,
    "entities_count": 139159,
    "world_seed": 15332,
    "world_size": 4500,
    "steam_id": "90285205509448724",
    "domain": null,
    "id": 11305492,
    "ip": "95.217.88.226",
    "port": 11005,
    "query": 11105,
    "color": 0,
    "city": "Helsinki",
    "description": "![Silent Valley 10X | PvE | RB | SkillTree | Legendary](https://i.ibb.co/LDTRdVbZ/rust-banner-2.png)\n/Tutorial - Commands in many languages / Команды на разных языках\r\n(Self-tutorial in progress / Самообучающий туториал в разработке)\r\n\r\n• Backpack / Рюкзак\r\n• Backpack Loot Transfer / Передача лута между рюкзаками\r\n• Cooking / Готовка\r\n• Custom Crafting / Кастомный крафт\r\n• Custom Loot / Кастомный лут\r\n• Epic Loot\r\n• Events System / Система событий\r\n• Friendly Community / Дружелюбное сообщество\r\n• Legendary Perks\r\n• NPC Encounters / NPC-события\r\n• Pocket Recycler / Карманный переработчик\r\n • Home Recycler / Домашний переработчик\r\n• RP System (work in progress) / RP система (в разработке)\r\n• Skill Tree / Навыки\r\n• SkillTree Perks+\r\n• Static Lootable - loot almost everything / Static Lootable - можно лутать почти всё\r\n• More plugins will be added over time to improve gameplay / Со временем будет добавлено больше плагинов для улучшения игрового процесса\r\n\r\nExplore the valley and survive. / Исследуй долину и выживай.\r\nMore features will appear during your journey. / Во время твоего путешествия появится ещё больше возможностей.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1777629794,
    "score": 0,
    "last_online": 1777667419,
    "icon": null,
    "name": "Silent Valley 10X | PvE | RB | SkillTree | Legendary",
    "connect": "95.217.88.226:11005",
    "request": "95.217.88.226:11105",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 8,
    "maxplayers": 30,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FI",
    "status": true,
    "votes": 0,
    "points": 67,
    "add_date": 1774592886,
    "last_update": 1777667419,
    "banned": false,
    "wipe": 1777408842,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 943,
    "language": "fi",
    "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/11305492");
$data = json_decode($json, true);
var_dump($data);