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

text
https://api.gamemonitoring.in/servers/11394039
json
{
  "response": {
    "steam_id": "90285160491985941",
    "domain": null,
    "id": 11394039,
    "ip": "109.123.108.97",
    "port": 15000,
    "query": 15001,
    "color": 0,
    "city": "City of London",
    "description": null,
    "game": 366220,
    "owner": null,
    "boosts": 1,
    "last_offline": 1777539809,
    "score": 0,
    "last_online": 1777544428,
    "icon": null,
    "name": "Anarchy [10/10][Hardcore][NoRules]",
    "connect": "109.123.108.97:15000",
    "request": "109.123.108.97:15001",
    "map": "map",
    "gamemode": "Wurm Unlimited Server",
    "version": "1.0.0.0",
    "numplayers": 2,
    "maxplayers": 232,
    "bots": 2,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 54,
    "add_date": 1774596893,
    "last_update": 1777544428,
    "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": 8,
    "language": "en",
    "parked": false,
    "app": {
      "id": 155,
      "steam_id": 366220,
      "name": "Wurm Unlimited",
      "url": "wurm-unlimited"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

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