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

text
https://api.gamemonitoring.in/servers/9414603
json
{
  "response": {
    "fps": 56,
    "fps_avg": 55,
    "entities_count": 150253,
    "world_seed": 1699227220,
    "world_size": 5000,
    "steam_id": "90286218967142402",
    "domain": null,
    "id": 9414603,
    "ip": "89.28.237.40",
    "port": 28055,
    "query": 28056,
    "color": 0,
    "city": "Dallas",
    "description": "![Tosty and Friends](https://i.ibb.co/TwnSdCM/Rust-Header-Image-Raised.png)\nMap size 5000. Don't be a gay liberal. Has Building Workbench Plugin enabled. increased wood and stone gather rates. No Decay.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780470419,
    "last_online": 1780573831,
    "icon": null,
    "name": "Tosty and Friends",
    "connect": "89.28.237.40:28055",
    "request": "89.28.237.40:28056",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1748251183,
    "last_update": 1780573831,
    "banned": false,
    "wipe": 1778177478,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3258,
    "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/9414603");
$data = json_decode($json, true);
var_dump($data);