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

text
https://api.gamemonitoring.in/servers/9500700
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 9500700,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": null,
    "description": "![#1 Тюмень | 2X | Классика | Wipe 06/06](https://i.postimg.cc/W438GdzG/monte-banner.png)\n➲ #1 Тюмень | 2X | Классика | - SERVER RUST\r\n\r\n[ Без плагинов: телепортов • рейдблоков • вайпблоков ]\r\n[ Ускорение: Добыча x2 | Плавка x2 |  Стаки x2 | Скорость крафта x2 ]\r\n\r\n➲ Админ-поддержка:\r\nСвязь с админом в Telegram: @Rust_CKay\r\n\r\n➲ Правила: В закрепленном посте Telegram-канала\r\n\r\n➲ Подключение: 185.135.82.173:28015\r\n➲ Настоящий Rust с комфортом!",
    "game": 252490,
    "owner": 122374,
    "boosts": 1,
    "last_offline": 1753434896,
    "last_online": 1750596023,
    "icon": null,
    "name": "Name is not set on server",
    "connect": null,
    "request": null,
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": null,
    "numplayers": 0,
    "maxplayers": 250,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1749391747,
    "last_update": 1753434896,
    "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": 13352,
    "language": "ru",
    "parked": true,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": {
      "username": "kayfouchee",
      "avatar": "96f1dda4-2015-445d-ab9b-a5efd30b9492.jpg"
    },
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

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