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

text
https://api.gamemonitoring.in/servers/4351148
json
{
  "response": {
    "fps": 59,
    "fps_avg": 59,
    "entities_count": 166168,
    "world_seed": 1337,
    "world_size": 5376,
    "steam_id": "90286573419463695",
    "domain": null,
    "id": 4351148,
    "ip": "168.100.163.3",
    "port": 28018,
    "query": 28020,
    "color": 0,
    "city": "Dallas",
    "description": "• PvE With Optional PvP Zone(s) • Custom Skill Tree & Adjusted Epic Loot\n• Custom NPCs & Bosses At Monuments • Custom Raidable bases, PvE & PvP\n• Custom Ganja Farming & Water Works • Backpack Plugin\n• Virtual Quarries • Personal Vehicles • A Decent Selection Of Custom Events\n• Personal Recyclers • A lot of QoL Improving Plugins\n• Skinbox • Kits • Shop • New Patrol Helicopter Behavior Disabled\n• Personal Patrol Helicopters\n• 24h Purge Until Force Wipe • Monthly Giveaways\n\nWipe info:\n• Monthly full wipes\n• Quarterly Skill Tree Wipe\nJoin the Community! https://discord.gg/zombz",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779894802,
    "last_online": 1780552826,
    "icon": null,
    "name": "ZOMBZ 2X PVP PURGE!|Wipe 6/4 ~1-5PM CST",
    "connect": "168.100.163.3:28018",
    "request": "168.100.163.3:28020",
    "map": "DISCORD.GG/ZOMBZ",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 2,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 62,
    "add_date": 1716109590,
    "last_update": 1780552826,
    "banned": false,
    "wipe": 1778182736,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 960,
    "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/4351148");
$data = json_decode($json, true);
var_dump($data);