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

text
https://api.gamemonitoring.in/servers/11644968
json
{
  "response": {
    "fps": 100,
    "fps_avg": 106,
    "entities_count": 102436,
    "world_seed": 1,
    "world_size": 4250,
    "steam_id": "90286590929438733",
    "domain": null,
    "id": 11644968,
    "ip": "65.108.8.38",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Helsinki",
    "description": "![Legacy of Ashes | Faction RP | Controlled PvP | No Tech Tree](https://legacyofashes.net/images/LegacyOfAshesServerImage1024x.png)\nSTILL UNDER DEVELOPMENT\r\nLegacy of Ashes | Syndicates • Dynamic World • Player Driven\r\n Join a Syndicate: Order, Shade, Hunter, Iron, Core, Trade, Harvest, Ash\r\n Sanctum is a protected hub – no living, no raiding, no PvP\r\n Fight in Ashland (24/7 PvP) \r\n Unique Syndicate perks – abilities, crafting, economy & survival bonuses\r\n Black market access, remote price checks & player-driven economy\r\n Bounties, lockpicking, jail system & territorial conflict systems\r\n Nomadic playstyle supported with survival buffs & scavenger perks\r\n Balanced progression – no pay-to-win, skill & strategy matter\r\n Active development | Wipe-based progression | Fresh every cycle\r\n Join the Legacy. Build. Survive. Dominate.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780571070,
    "last_online": 1780585232,
    "icon": null,
    "name": "Legacy of Ashes | Faction RP | Controlled PvP | No Tech Tree",
    "connect": "65.108.8.38:28015",
    "request": "65.108.8.38:28017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 30,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FI",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1780177440,
    "last_update": 1780585232,
    "banned": false,
    "wipe": 1778613713,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5696,
    "language": "fi",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

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