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

text
https://api.gamemonitoring.in/servers/4266952
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 4266952,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": null,
    "description": "",
    "game": 1604030,
    "owner": 72717,
    "boosts": 1,
    "last_offline": 1750457066,
    "score": 0,
    "last_online": 1724187696,
    "icon": null,
    "name": "[RU/PVE]Castlevania-Brutal",
    "connect": null,
    "request": null,
    "map": "VRisingWorld",
    "gamemode": null,
    "version": null,
    "numplayers": 0,
    "maxplayers": 40,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1715854069,
    "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": 2255,
    "language": "ru",
    "parked": true,
    "app": {
      "id": 55075,
      "steam_id": 1604030,
      "name": "V Rising",
      "url": "v-rising"
    },
    "server_owner": {
      "username": "vVirtuSs",
      "avatar": "01bcd333-8c64-4d9f-9b89-5b3299d3259c.jpg",
      "last_online": 1734520682
    },
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

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