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

text
https://api.gamemonitoring.in/servers/11723203
json
{
  "response": {
    "steam_id": "90286479673658374",
    "domain": null,
    "id": 11723203,
    "ip": "45.124.213.34",
    "port": 29016,
    "query": 29016,
    "color": 0,
    "city": "Singapore",
    "description": null,
    "game": 244850,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780346653,
    "last_online": 1780339883,
    "icon": null,
    "name": "Hosted by GTXGaming.co.uk",
    "connect": "45.124.213.34:29016",
    "request": "45.124.213.34:29016",
    "map": "GTXGaming",
    "gamemode": "Space Engineers",
    "version": "1209024",
    "numplayers": 0,
    "maxplayers": 10,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "SG",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1780324673,
    "last_update": 1780346653,
    "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": 3996,
    "language": "en",
    "parked": false,
    "app": {
      "id": 97,
      "steam_id": 244850,
      "name": "Space Engineers",
      "url": "space-engineers"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

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