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

text
https://api.gamemonitoring.in/servers/80110
json
{
  "response": {
    "steam_id": "90284528425993239",
    "domain": null,
    "id": 80110,
    "ip": "188.165.198.127",
    "port": 2302,
    "query": 2303,
    "color": 0,
    "city": "Roubaix",
    "description": "",
    "game": 107410,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776322912,
    "score": null,
    "last_online": 1776402664,
    "icon": null,
    "name": "ArmAKotH.com - King of the Hill EU#1 MALDEN INFANTRY MGT",
    "connect": "188.165.198.127:2302",
    "request": "188.165.198.127:2303",
    "map": "Malden",
    "gamemode": "King of the Hill by Sa-Matra (v17, Infantry)",
    "version": "2.20.153687",
    "numplayers": 0,
    "maxplayers": 80,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "FR",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1521500141,
    "last_update": 1776402664,
    "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": 210,
    "language": "fr",
    "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/80110");
$data = json_decode($json, true);
var_dump($data);