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

text
https://api.gamemonitoring.in/servers/6741569
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 6741569,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": "Moscow",
    "description": "[{\"id\":\"grsd0adx3\",\"type\":\"paragraph\",\"data\":{\"text\":\"Добро пожаловать на RUSTling Survival PvE | Low Pop \\n• Спавнящиеся Ивенты: рейд баз и охраняемый ящик\\n• Ограниченное количество шкафов: 3 на человека\\n• Переработчики в рыбацких деревнях\\n• Отсутствие Pay to Win - сервер без доната\\n• Вайп раз в две недели в 22:00 по МСК\\n• В день вайпа включается PvP режим и судный день\\n\\nКонтакты:\\n → vk.com/rustling_server\\n → t.me/RUST_ling\"}}]",
    "game": 252490,
    "owner": 93891,
    "boosts": 1,
    "last_offline": 1776577956,
    "last_online": 1775668812,
    "icon": null,
    "name": "Server",
    "connect": null,
    "request": null,
    "map": null,
    "gamemode": null,
    "version": null,
    "numplayers": 0,
    "maxplayers": 15,
    "bots": 0,
    "secured": null,
    "private": false,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1732630298,
    "last_update": 1776577956,
    "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": 13272,
    "language": "ru",
    "parked": true,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": {
      "username": "ipatov_a_v",
      "avatar": "c8ec393e-024b-49bd-a972-ca0776aa63d3.jpg"
    },
    "mods": [],
    "disabled_modules": [
      "reviews",
      "chat"
    ]
  }
}

कोड उदाहरण

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