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

text
https://api.gamemonitoring.in/servers/25817
json
{
  "response": {
    "steam_id": "90284592266313745",
    "domain": null,
    "id": 25817,
    "ip": "176.9.10.34",
    "port": 27350,
    "query": 27350,
    "color": 0,
    "city": "Falkenstein",
    "description": "",
    "game": 222880,
    "owner": null,
    "boosts": 1,
    "last_offline": 1774360316,
    "score": null,
    "last_online": 1776517273,
    "icon": null,
    "name": "[GGA] GermanGamerAllianz - PvP - Custom",
    "connect": "176.9.10.34:27350",
    "request": "176.9.10.34:27350",
    "map": "market",
    "gamemode": "Insurgency",
    "version": "2.4.2.4",
    "numplayers": 0,
    "maxplayers": 24,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1516195475,
    "last_update": 1776517273,
    "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": 38,
    "language": "de",
    "parked": false,
    "app": {
      "id": 13,
      "steam_id": 222880,
      "name": "Insurgency",
      "url": "insurgency"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

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