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

text
https://api.gamemonitoring.in/servers/8568627
json
{
  "response": {
    "fps": 44,
    "fps_avg": 43,
    "entities_count": 392143,
    "world_seed": 1337,
    "world_size": 4500,
    "steam_id": "90285142560387087",
    "domain": null,
    "id": 8568627,
    "ip": "168.100.162.3",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Dallas",
    "description": "![Rusty Spoon US PURGE 5x [Events|Raid|Quests|Zombies|SkillTree|P](https://r2.rustyfiles.xyz/rust_server_banner.jpg)\n• 5x PVE Server \r\n• Skill Tree to boost gather, loot, damage, etc. Even call in your own MLRS. \r\n• Hand-built custom loot tables for every object in the game. \r\n• Raidable Bases with over 500 bases ready to raid!! \r\n• Replaced and added a ton of scientists to make roaming more exciting. \r\n• Zombie Hordes and Custom spawning zombies. \r\n• Roaming bosses scattered across the map, protecting their turf. \r\n• Shop to buy and sell items for in-game currency. \r\n• Virtual Quarries and Pumpjacks for all your afk farming needs. \r\n• Skin your things with over 8000 skins available. \r\n• Call in NPCs to raid your base! \r\n• Harbor Event. \r\n• Armored Train Event. \r\n• Convoy Event.\r\n• Survival Arena PVP Event \r\n• Always running custom maps further customized with buildable locations!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1777125205,
    "score": 0,
    "last_online": 1777566012,
    "icon": null,
    "name": "Rusty Spoon US PURGE 5x [Events|Raid|Quests|Zombies|SkillTree|P",
    "connect": "168.100.162.3:28015",
    "request": "168.100.162.3:28016",
    "map": "discord.gg/rustyspoon",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 122,
    "maxplayers": 150,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 97,
    "add_date": 1744806165,
    "last_update": 1777566012,
    "banned": false,
    "wipe": 1776372740,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 213,
    "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/8568627");
$data = json_decode($json, true);
var_dump($data);