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

text
https://api.gamemonitoring.in/servers/11728102
json
{
  "response": {
    "steam_id": "90286484646414339",
    "domain": null,
    "id": 11728102,
    "ip": "176.20.128.41",
    "port": 2312,
    "query": 2313,
    "project_id": null,
    "color": 0,
    "city": "Tonbridge",
    "description": null,
    "game": 107410,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780739007,
    "last_online": 1780536759,
    "icon": null,
    "name": "22nd Armoured - Training",
    "connect": "176.20.128.41:2312",
    "request": "176.20.128.41:2313",
    "map": "cfb_moosehead",
    "gamemode": "BSQN Combined Training Area",
    "version": "2.20.152984",
    "numplayers": 0,
    "maxplayers": 20,
    "bots": 0,
    "secured": false,
    "private": true,
    "country": "GB",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1780388858,
    "last_update": 1780739007,
    "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": 5681,
    "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/11728102");
$data = json_decode($json, true);
var_dump($data);