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

text
https://api.gamemonitoring.in/servers/9720827
json
{
  "response": {
    "fps": 109,
    "fps_avg": 110,
    "entities_count": 213563,
    "world_seed": 365949584,
    "world_size": 6000,
    "steam_id": "90286577172170761",
    "domain": null,
    "id": 9720827,
    "ip": "46.174.52.178",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Moscow",
    "description": "![• RUS ☆ CARNIVAL.RIP ☆ VANILLA • 60TICK|NOLAG|LOWPING](http://m.carnival.rip/rust/logo.jpg)\n☆ RUS ★ CARNIVAL.RIP ★ VANILLA ☆\r\n=============================================================\r\n• Размер карты: 6000 X 6000\r\n• Режим игры:    VANILLA\r\n• Тикрейт:           60 TICK\r\n• Рестарт:           05:00 (МСК)\r\n• Вайп:                 1Й ЧЕТВЕРГ МЕСЯЦА\r\n=============================================================\r\n• Вебсайт:           CARNIVAL.RIP\r\n• ВКонтакте:       VK.CARNIVAL.RIP\r\n• Discord:            DISCORD.CARNIVAL.RIP",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780280045,
    "last_online": 1780573235,
    "icon": null,
    "name": "• RUS ☆ CARNIVAL.RIP ☆ VANILLA • 60TICK|NOLAG|LOWPING",
    "connect": "46.174.52.178:28015",
    "request": "46.174.52.178:28016",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1752139756,
    "last_update": 1780573235,
    "banned": false,
    "wipe": 1778185975,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3294,
    "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/9720827");
$data = json_decode($json, true);
var_dump($data);