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

text
https://api.gamemonitoring.in/servers/11094785
json
{
  "response": {
    "steam_id": "90284721720548381",
    "domain": null,
    "id": 11094785,
    "ip": "162.55.101.29",
    "port": 2342,
    "query": 27416,
    "color": 0,
    "city": "Falkenstein",
    "description": null,
    "game": 221100,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776576802,
    "score": 0,
    "last_online": 1776798053,
    "icon": null,
    "name": "Extravagant KarmaServer - DEADFALL | HC | ADVENTURE | 1PP | V++",
    "connect": "162.55.101.29:2342",
    "request": "162.55.101.29:27416",
    "map": "Deadfall",
    "gamemode": null,
    "version": "1.29.162510",
    "numplayers": 0,
    "maxplayers": 55,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1770028031,
    "last_update": 1776798053,
    "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": 3516,
    "language": "de",
    "parked": false,
    "app": {
      "id": 63,
      "steam_id": 221100,
      "name": "DayZ",
      "url": "dayz"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

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