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

text
https://api.gamemonitoring.in/servers/11511405
json
{
  "response": {
    "fps": 60,
    "fps_avg": 59,
    "entities_count": 79987,
    "world_seed": 1749968565,
    "world_size": 3750,
    "steam_id": "90286590840320031",
    "domain": null,
    "id": 11511405,
    "ip": "158.69.26.13",
    "port": 28015,
    "query": 27017,
    "color": 0,
    "city": "Montreal",
    "description": "![[NA] WAR Monthly | No BP Wipe](https://imgur.com/HZFzRKI.png)\nHigh-end hardware + low population = No lag \r\nWe are building a server for those who love the hardcore experience\r\nbut struggle with the daily responsibilities of life. \r\nWe take a strict stance against cheaters, toxic players, and trolls.\r\n- Respect your opponents: Play with honor and fun \r\n- Be a fair raider: Don’t drop items unnecessarily, only take what you need. \r\n- Dont TC-troll: Give players a chance to recover after being raided.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780527867,
    "last_online": 1780584041,
    "icon": null,
    "name": "[NA] WAR Monthly | No BP Wipe",
    "connect": "158.69.26.13:28015",
    "request": "158.69.26.13:27017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "CA",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779353846,
    "last_update": 1780584041,
    "banned": false,
    "wipe": 1780540329,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5193,
    "language": "en",
    "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/11511405");
$data = json_decode($json, true);
var_dump($data);