प्रोग्राम, वेबसाइट और अन्य के लिए JSON

text
https://api.gamemonitoring.in/servers/11260847
json
{
  "response": {
    "fps": 231,
    "fps_avg": 229,
    "entities_count": 56123,
    "world_seed": 1337,
    "world_size": 4000,
    "steam_id": "90284422733661203",
    "domain": null,
    "id": 11260847,
    "ip": "46.181.239.168",
    "port": 35000,
    "query": 35001,
    "color": 0,
    "city": "Kemerovo",
    "description": "![RustHunter Combater [Ryzen9950x]](https://wallpapers.com/images/file/rust-space-suit-v6909tftywztor6m.jpg)\nДобро пожаловать, на комбатный сервер Растхантер!\r\n > Размер карты 4000 Custom Jungle Retreat\r\n > Размер стака x1 Ресурсы x1 Рэйдовые базы 1300+\r\n > В основе сервера быстрый Ryzen9950X на 5,7GHz, 32Gb, SSD M2-Pci5\r\n > Единый магазин всех серверов https://nlh.gamestores.app\r\n > StartBonus, DaylyBonus\r\n > Потребление ресурсов домом снижено до 40%\r\n > Wipe отсутствует",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776290512,
    "score": 0,
    "last_online": 1776332425,
    "icon": null,
    "name": "RustHunter Combater [Ryzen9950x]",
    "connect": "46.181.239.168:35000",
    "request": "46.181.239.168:35001",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 0,
    "maxplayers": 300,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1774555209,
    "last_update": 1776332425,
    "banned": false,
    "wipe": 1775156562,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5204,
    "language": "ru",
    "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.in/servers/11260847");
$data = json_decode($json, true);
var_dump($data);