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

text
https://api.gamemonitoring.in/servers/11587055
json
{
  "response": {
    "steam_id": "90285829821691935",
    "domain": null,
    "id": 11587055,
    "ip": "161.97.150.193",
    "port": 30700,
    "query": 30715,
    "color": 0,
    "city": "Lauterbourg",
    "description": "Rreiner PvE Server - Kein Raid erlaubt - Kein PvP-Playerschaden - Hunters machen nur Gegenangriffe",
    "game": 418030,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779357393,
    "last_online": 1780659632,
    "icon": null,
    "name": "[GER] - Brotherhood of Ironskulls - Subsistence PvENo Raid",
    "connect": "161.97.150.193:30700",
    "request": "161.97.150.193:30715",
    "map": "coldmap1",
    "gamemode": "ColdGame",
    "version": "13249",
    "numplayers": 0,
    "maxplayers": 10,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FR",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779357393,
    "last_update": 1780659632,
    "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": 113,
    "language": "fr",
    "parked": false,
    "app": {
      "id": 139,
      "steam_id": 418030,
      "name": "Subsistence",
      "url": "subsistence"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

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