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

text
https://api.gamemonitoring.in/servers/10895982
json
{
  "response": {
    "fps": 111,
    "fps_avg": 106,
    "entities_count": 87783,
    "world_seed": 1932245139,
    "world_size": 4000,
    "steam_id": "90286604889232394",
    "domain": null,
    "id": 10895982,
    "ip": "108.181.123.178",
    "port": 28016,
    "query": 28017,
    "color": 0,
    "city": "Amsterdam",
    "description": "![EU 5x The Raid Redemption PVE - Kits/CustomVehicles](https://i.ibb.co/276jGHRv/Raid-Redemtion-Logo-v5.jpg)\nWelcome To The 5x The Raid Redemption PVE Server.\r\n Kits\r\n Shop\r\n Teleports\r\n CustomVehicles\r\n CustomMaps\r\n Economics\r\n Stackableitems\r\n And many more.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780598072,
    "last_online": 1780603226,
    "icon": null,
    "name": "EU 5x The Raid Redemption PVE - Kits/CustomVehicles",
    "connect": "108.181.123.178:28016",
    "request": "108.181.123.178:28017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 8,
    "maxplayers": 30,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "NL",
    "status": true,
    "votes": 0,
    "points": 72,
    "add_date": 1768383753,
    "last_update": 1780603226,
    "banned": false,
    "wipe": 1780598565,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 789,
    "language": "nl",
    "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/10895982");
$data = json_decode($json, true);
var_dump($data);