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

text
https://api.gamemonitoring.in/servers/7569185
json
{
  "response": {
    "steam_id": "90284212160385047",
    "domain": null,
    "id": 7569185,
    "ip": "148.113.1.122",
    "port": 26052,
    "query": 26052,
    "color": 0,
    "city": "Mumbai",
    "description": null,
    "game": 730,
    "owner": null,
    "boosts": 1,
    "last_offline": 1773742922,
    "score": 0,
    "last_online": 1775970055,
    "icon": null,
    "name": "PLAY.PRACC.COM - [IN] MULTI-CFG DM - MIRAGE ✦ SKINS ✦ BEST",
    "connect": "148.113.1.122:26052",
    "request": "148.113.1.122:26052",
    "map": "de_mirage",
    "gamemode": "Counter-Strike 2",
    "version": "1.41.4.1",
    "numplayers": 0,
    "maxplayers": 27,
    "bots": 12,
    "secured": true,
    "private": false,
    "country": "IN",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1739448583,
    "last_update": 1775970055,
    "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": 7725,
    "language": "hi",
    "parked": false,
    "app": {
      "id": 2,
      "steam_id": 730,
      "name": "Counter-Strike 2",
      "url": "counter-strike-2"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

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