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

text
https://api.gamemonitoring.in/servers/592091
json
{
  "response": {
    "steam_id": null,
    "domain": "us.skyblock.net",
    "id": 592091,
    "ip": "148.113.154.207",
    "port": 25565,
    "query": 25565,
    "color": 0,
    "city": "Montreal",
    "description": "",
    "game": 9000034,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775764961,
    "score": null,
    "last_online": 1776808830,
    "icon": null,
    "name": "Skyblock ❘ Follow us on Twitter! @Skyblock The home of Skyblock!",
    "connect": "us.skyblock.net:25565",
    "request": "148.113.154.207:25565",
    "map": null,
    "gamemode": "FML",
    "version": "BungeeCord 1.8.x-26.1.x",
    "numplayers": 235,
    "maxplayers": 750,
    "bots": 0,
    "secured": null,
    "private": null,
    "country": "CA",
    "status": true,
    "votes": 0,
    "points": 42,
    "add_date": 1669240957,
    "last_update": 1776808830,
    "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": 245,
    "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/592091");
$data = json_decode($json, true);
var_dump($data);