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

text
https://api.gamemonitoring.in/servers/11305860
json
{
  "response": {
    "fps": 60,
    "fps_avg": 60,
    "entities_count": 102220,
    "world_seed": 17762077,
    "world_size": 4200,
    "steam_id": "90286613354081291",
    "domain": null,
    "id": 11305860,
    "ip": "66.51.99.57",
    "port": 28020,
    "query": 28021,
    "color": 0,
    "city": "Dallas",
    "description": "wicked pve rules call out monument big or small before you loot call airdrops in location or personal airdrops call out heli when taking and the location call bradley when taking  call out raidable bases so there no confusion or loot getting stolen no entering other players base unless invited no stealing loot any problems jump in our discord https://discord.gg/etYycTq6",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780618455,
    "last_online": 1780638627,
    "icon": null,
    "name": "wicked pve",
    "connect": "66.51.99.57:28020",
    "request": "66.51.99.57:28021",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1774592903,
    "last_update": 1780638627,
    "banned": false,
    "wipe": 1780618462,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4273,
    "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/11305860");
$data = json_decode($json, true);
var_dump($data);