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

text
https://api.gamemonitoring.in/servers/10740930
json
{
  "response": {
    "fps": 54,
    "fps_avg": 55,
    "entities_count": 121320,
    "world_seed": 1460595521,
    "world_size": 4250,
    "steam_id": "90286569239487495",
    "domain": null,
    "id": 10740930,
    "ip": "51.161.194.40",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "North Sydney",
    "description": "![[AU/NZ] RustAU - 2x Solo / Duo / Trio (Monthly)](https://i.imgur.com/uxAbnGa.png)\nWelcome to RustAU 2x Monthly\r\n\r\nA Rust server built by experienced players, developers, and community managers for a balanced survival experience. With 2x rates, starter kits, and a max group size of 3, every encounter counts.\r\n\r\nKey Features\r\n\r\n- 2x Gather / Smelt / Craft / Recycle\r\n- Starter Kits & More\r\n- Max Group Size of 3\r\n- Extended Days & Shorter Nights\r\n- All Level 1 Blueprints Unlocked\r\n- Custom Loot Tables\r\n- Rust+ Companion App Support\r\n\r\nSee you on the server!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780511641,
    "last_online": 1780581032,
    "icon": null,
    "name": "[AU/NZ] RustAU - 2x Solo / Duo / Trio (Monthly)",
    "connect": "51.161.194.40:28015",
    "request": "51.161.194.40:28017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 2,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "AU",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1766250769,
    "last_update": 1780581032,
    "banned": false,
    "wipe": 1778179592,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1454,
    "language": "en",
    "parked": false,
    "app": {
      "id": 252490,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/10740930");
$data = json_decode($json, true);
var_dump($data);