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

text
https://api.gamemonitoring.in/servers/6186497
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 6186497,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": "Moscow",
    "description": "[{\"id\":\"vde1x3lyd\",\"type\":\"image\",\"data\":{\"caption\":\"gm.link/u99988 ARA RUST\",\"withBorder\":false,\"withBackground\":false,\"stretched\":true,\"file\":{\"url\":\"https://cdn.gamemonitoring.net/images/content/45ea97ea-e80d-412f-a5b1-cdb4fb25d2fb.jpg\"}}},{\"id\":\"2gi6paj75\",\"type\":\"paragraph\",\"data\":{\"text\":\"Welcome to ARA Rust server! No cheating or exploiting. No spam, racism/slurs, discrimination. Wipe: Monthly on Thursdays @ 9PM Moscow time (or when forced) | No BP Wipe\"}},{\"id\":\"LhAjNrnMlI\",\"type\":\"image\",\"data\":{\"caption\":\"\",\"withBorder\":false,\"withBackground\":false,\"stretched\":false,\"file\":{\"url\":\"https://cdn.gamemonitoring.net/images/content/e66ce407-73af-47f8-bdd8-5a0089bdefed.png\"}}}]",
    "game": 252490,
    "owner": 99988,
    "boosts": 1,
    "last_offline": 1777096952,
    "last_online": 1776222011,
    "icon": null,
    "name": "Server",
    "connect": null,
    "request": null,
    "map": null,
    "gamemode": null,
    "version": null,
    "numplayers": 0,
    "maxplayers": 500,
    "bots": 0,
    "secured": null,
    "private": false,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1728257922,
    "last_update": 1777096952,
    "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": 13292,
    "language": "ru",
    "parked": true,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": {
      "username": "TR1TON",
      "avatar": "1ffed620-3a56-4550-a647-b5df196629de.jpg"
    },
    "mods": [],
    "disabled_modules": [
      "chat"
    ]
  }
}

कोड उदाहरण

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