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

text
https://api.gamemonitoring.in/servers/9905744
json
{
  "response": {
    "fps": 234,
    "fps_avg": 234,
    "entities_count": 6921,
    "world_seed": 1337,
    "world_size": 1300,
    "steam_id": 90286705133054990,
    "domain": null,
    "id": 9905744,
    "ip": "99.241.10.112",
    "port": 28015,
    "query": 28017,
    "project_id": null,
    "color": 0,
    "city": "North York",
    "description": "![[NA] Nebula 2x One Grid solo/duo/trio](https://image.myrustserver.com/logo/shumzz_675c3e68d86aa.jpg)\nLightly modded 2x one grid with a custom map \r\n-Kits\r\n-Faster Recycler\r\n-2x loottables and gather\r\n-faster crafting speed\r\n-all bps unlocked \r\n\r\nWipes at Tuesday at 3pm EST and Saturday at 1pm EST",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780664058,
    "last_online": 1780910428,
    "icon": null,
    "name": "[NA] Nebula 2x One Grid solo/duo/trio",
    "connect": "99.241.10.112:28015",
    "request": "99.241.10.112:28017",
    "map": "Custom Map",
    "gamemode": "Vanilla",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 30,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "CA",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1753909947,
    "last_update": 1780910428,
    "banned": false,
    "wipe": 1780765189,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3549,
    "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/9905744");
$data = json_decode($json, true);
var_dump($data);