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

text
https://api.gamemonitoring.in/servers/8513046
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 8513046,
    "ip": null,
    "port": null,
    "query": null,
    "project_id": null,
    "color": 0,
    "city": null,
    "description": null,
    "game": 221100,
    "owner": 114874,
    "boosts": 1,
    "last_offline": 1750457066,
    "last_online": 1746673237,
    "icon": null,
    "name": "[RU] ANIGUN Lite | Vanilla+ | Mods | 3pp",
    "connect": null,
    "request": null,
    "map": "chernarusplus",
    "gamemode": null,
    "version": null,
    "numplayers": 0,
    "maxplayers": 80,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1744196502,
    "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": 14090,
    "language": "ru",
    "parked": true,
    "app": {
      "id": 63,
      "steam_id": 221100,
      "name": "DayZ",
      "url": "dayz"
    },
    "server_owner": {
      "username": "okka_nana",
      "avatar": "8b3249bb-164e-4a80-ac4e-738770c7e3a2.jpg"
    },
    "mods": [
      {
        "id": 1615,
        "name": "CF"
      },
      {
        "id": 1653,
        "name": "Code Lock"
      },
      {
        "id": 1614,
        "name": "VPPAdminTools"
      }
    ],
    "disabled_modules": []
  }
}

कोड उदाहरण

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