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

text
https://api.gamemonitoring.in/servers/11691850
json
{
  "response": {
    "steam_id": "90286501516040213",
    "domain": null,
    "id": 11691850,
    "ip": "5.80.234.106",
    "port": 9876,
    "query": 9877,
    "color": 0,
    "city": "Cheltenham",
    "description": null,
    "game": 1604030,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780577017,
    "last_online": 1780416098,
    "icon": null,
    "name": "TXGWG",
    "connect": "5.80.234.106:9876",
    "request": "5.80.234.106:9877",
    "map": "VRisingWorld",
    "gamemode": "3415b287-9d2a-41be-864d-d1682a9c289a",
    "version": "0.0.0.1",
    "numplayers": 0,
    "maxplayers": 40,
    "bots": 0,
    "secured": true,
    "private": true,
    "country": "GB",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1780225003,
    "last_update": 1780577017,
    "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": 4548,
    "language": "en",
    "parked": false,
    "app": {
      "id": 55075,
      "steam_id": 1604030,
      "name": "V Rising",
      "url": "v-rising"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

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