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

text
https://api.gamemonitoring.in/servers/7287175
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 7287175,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": "Moscow",
    "description": "![gm.link/u100207 GlazRUST [ X5 | NoLim | Loot+ | Kits | TP ] Wip](https://i.yapx.ru/YWJgD.png)\nМы рады приветствовать вас на сервере GlazRUST.\r\n\r\nВас встречает сервер с добычей ресурсов X5.\r\nНет лимита по количеству игроков в команде.\r\nУлучшенный лут в бочках и ящиках.\r\nПрокаченная система телепортов.\r\nСистема трейдов, отсутствие радиации.\r\nОтсутствие дверей на РТ и многое другое.\r\n\r\nЖелаем вам хорошей игры!",
    "game": 252490,
    "owner": 100207,
    "boosts": 1,
    "last_offline": 1774159278,
    "last_online": 1773262812,
    "icon": null,
    "name": "GlazRUST [ X5 | NoLim | Loot+ | Kits | TP ] Wipe 06.03",
    "connect": null,
    "request": null,
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": null,
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1736704049,
    "last_update": 1774159278,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 13268,
    "language": "ru",
    "parked": true,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": {
      "username": "reaper21",
      "avatar": "9b5a212b-e6b7-4fb0-b465-e928e69d7203.jpg"
    },
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

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