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

text
https://api.gamemonitoring.in/servers/11502526
json
{
  "response": {
    "fps": 225,
    "fps_avg": 223,
    "entities_count": 37135,
    "world_seed": 681902222,
    "world_size": 2500,
    "steam_id": "90286576231521284",
    "domain": null,
    "id": 11502526,
    "ip": "102.39.118.251",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Johannesburg",
    "description": "![MadHouse [Custom Map]- NoKos-Solo/Duo with NPCs and Raid Times](https://image.myrustserver.com/logo/Reaper78_69ebcb2318e53.jpeg)\n*Raid Times:    Sunday - Friday 18:00 to 21:59 \r\n                        Saturday 18:00 to 23:59\r\n*If it says PVP its PVP...You and The One you want to attack must  be in PVP unless its Oil, cargo, Airdrop or a  Event you don't  want to get involved stay away or get away.\r\n*Sort a KOS out by yourself before reporting it to Admin.\r\n Reporting: Post a Screenshot of the Map and Combat log in  discord under KOS Report.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780299245,
    "last_online": 1780546834,
    "icon": null,
    "name": "MadHouse [Custom Map]- NoKos-Solo/Duo with NPCs and Raid Times",
    "connect": "102.39.118.251:28015",
    "request": "102.39.118.251:28017",
    "map": "Custom Map",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "ZA",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779207202,
    "last_update": 1780546834,
    "banned": false,
    "wipe": 1779991385,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4954,
    "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/11502526");
$data = json_decode($json, true);
var_dump($data);