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

text
https://api.gamemonitoring.in/servers/7027769
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 7027769,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": null,
    "description": "Добро пожаловать на сервер Rust XV \nЭто простой игровой сервер со стандартной картой\nУстановленные плагины:\n- InfoPanel\n- Skins\n- И что-то ещё",
    "game": 252490,
    "owner": 98403,
    "boosts": 1,
    "last_offline": 1761066201,
    "score": 0,
    "last_online": 1759156818,
    "icon": null,
    "name": "Rust XV",
    "connect": null,
    "request": null,
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": null,
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "KZ",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1735062199,
    "last_update": 1761066201,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": 1,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 7693,
    "language": "kk",
    "parked": true,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": {
      "username": "Oran_Gutangovich",
      "avatar": "2bcd55b1-e85c-483d-9c5b-b9288e0fe381.jpg",
      "last_online": 1762711250
    },
    "mods": [
      {
        "id": 362,
        "name": "Tag"
      },
      {
        "id": 1388,
        "name": "Stack Size Controller"
      },
      {
        "id": 909,
        "name": "InfoPanel"
      },
      {
        "id": 1578,
        "name": "XStatistics"
      }
    ],
    "disabled_modules": [
      "chat"
    ]
  }
}

कोड उदाहरण

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