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

text
https://api.gamemonitoring.in/servers/10987425
json
{
  "response": {
    "steam_id": "90284527281564702",
    "domain": null,
    "id": 10987425,
    "ip": "161.129.65.202",
    "port": 2802,
    "query": 2803,
    "color": 0,
    "city": "Englewood Cliffs",
    "description": null,
    "game": 107410,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776357826,
    "score": 0,
    "last_online": 1776409351,
    "icon": null,
    "name": "2026 Selection",
    "connect": "161.129.65.202:2802",
    "request": "161.129.65.202:2803",
    "map": "cfb_moosehead",
    "gamemode": "Selection Fort Bragg",
    "version": "2.20.153687",
    "numplayers": 0,
    "maxplayers": 64,
    "bots": 0,
    "secured": false,
    "private": true,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1769902738,
    "last_update": 1776409351,
    "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": 2053,
    "language": "en",
    "parked": false,
    "app": {
      "id": 61,
      "steam_id": 107410,
      "name": "Arma 3",
      "url": "arma-3"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

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