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

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