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

text
https://api.gamemonitoring.in/servers/10529619
json
{
  "response": {
    "steam_id": null,
    "domain": "play.wynncraft.com",
    "id": 10529619,
    "ip": "172.65.173.152",
    "port": 25565,
    "query": 25565,
    "color": 0,
    "city": "Toronto",
    "description": null,
    "game": 9000034,
    "owner": null,
    "boosts": 1,
    "last_offline": 1768641150,
    "score": 0,
    "last_online": 1776807016,
    "icon": null,
    "name": "play.WYNNCRAFT.com v2.2.0 ✦ FESTIVAL OF THE HEROES (FREE CRATES)",
    "connect": "play.wynncraft.com:25565",
    "request": "172.65.173.152:25565",
    "map": null,
    "gamemode": "FML",
    "version": "WynnProxy 1.9.x-26.1.x+",
    "numplayers": 3720,
    "maxplayers": 4500,
    "bots": 0,
    "secured": null,
    "private": null,
    "country": "CA",
    "status": true,
    "votes": 0,
    "points": 74,
    "add_date": 1762516968,
    "last_update": 1776807016,
    "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": 46,
    "language": "en",
    "parked": false,
    "app": {
      "id": 169,
      "steam_id": 9000034,
      "name": "Minecraft",
      "url": "minecraft"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

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