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

text
https://api.gamemonitoring.in/servers/10414139
json
{
  "response": {
    "steam_id": null,
    "domain": "combocraft.dk",
    "id": 10414139,
    "ip": "88.211.211.183",
    "port": 25565,
    "query": 25565,
    "color": 0,
    "city": "Amsterdam",
    "description": null,
    "game": 9000034,
    "owner": null,
    "boosts": 1,
    "last_offline": 1767228104,
    "score": 0,
    "last_online": 1776096047,
    "icon": null,
    "name": "ΞΞ COMBOCRAFT ΞΞ - [1.21.8] Survival",
    "connect": "combocraft.dk:25565",
    "request": "88.211.211.183:25565",
    "map": null,
    "gamemode": "FML",
    "version": "BungeeCord 1.8.x-1.21.x",
    "numplayers": 1,
    "maxplayers": 2025,
    "bots": 0,
    "secured": null,
    "private": null,
    "country": "NL",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1759824620,
    "last_update": 1776096047,
    "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": 3526,
    "language": "nl",
    "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/10414139");
$data = json_decode($json, true);
var_dump($data);