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

text
https://api.gamemonitoring.in/servers/7328605
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 7328605,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": null,
    "description": "![[Rust-X] NO LIMIT | VANILLA+ | WIPE 17.01](https://igortsev.ru/server/header_image.jpg)\nГлобальный WIPE каждую неделю в 16:00 MSK \r\n  \r\n -> Максимальный размер команды: 10 \r\n -> Содержание шкафа снижено на 50% \r\n -> Пеработчки, НПЗ, станция дронов в рыбачках, ранчо, амбары \r\n -> Рейты добычи и стаков x1 \r\n -> Розыгрыши скинов и DLC \r\n -> Розыгрыши нормальных микрофонов",
    "game": 252490,
    "owner": 101269,
    "boosts": 1,
    "last_offline": 1750457066,
    "last_online": 1741296628,
    "icon": null,
    "name": "[Rust-X] РОССИЯ | NO LIMIT | VANILLA+ X1",
    "connect": null,
    "request": null,
    "map": "Procedural Map",
    "gamemode": null,
    "version": null,
    "numplayers": 0,
    "maxplayers": 101,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1736876820,
    "last_update": 1750457066,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 13249,
    "language": "ru",
    "parked": true,
    "app": {
      "id": 252490,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": {
      "username": "GermanIgortsev",
      "avatar": "2e688387-75d7-4397-b1d4-46b9e1fbea9e.jpg"
    },
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

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