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

text
https://api.gamemonitoring.in/servers/11261185
json
{
  "response": {
    "fps": 30,
    "fps_avg": 29,
    "entities_count": 49149,
    "world_seed": 1337,
    "world_size": 3000,
    "steam_id": "90285649738390545",
    "domain": null,
    "id": 11261185,
    "ip": "91.229.114.187",
    "port": 28015,
    "query": 28014,
    "color": 0,
    "city": "Chicago",
    "description": "![» ProjectGaming.gg | 3X Vanilla | Solo/Duo/Trio | WIPED 5/8](https://projectgaming.gg/s/store-servers/3X-Trio.jpg)\nJoin us on Discord! Discord.gg/ProjectGaming\n- Map Wipes Every Tuesday and Friday @ 2PM ET\n- Blueprint Wipes Every 2 Weeks\n- 3x Server Rates.\n- Max 3 Per Group.\n- Lvl 1 BPs Unlocked.\n- Long Days, Short Nights.\n- More Monument Recyclers.\n- Blueprint Sharing Between Team\n- Custom Maps with High FPS.\n- Active Professional Staff Team.\n- Kits, BGrade, Skinbox, Remove, and Furnace Splitter for everyone.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1778341384,
    "score": 0,
    "last_online": 1778590818,
    "icon": null,
    "name": "» ProjectGaming.gg | 3X Vanilla | Solo/Duo/Trio | WIPED 5/8",
    "connect": "91.229.114.187:28015",
    "request": "91.229.114.187:28014",
    "map": "Wiped 3 Days Ago",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 3,
    "maxplayers": 150,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1774555223,
    "last_update": 1778590818,
    "banned": false,
    "wipe": 1778263959,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2331,
    "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/11261185");
$data = json_decode($json, true);
var_dump($data);