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

text
https://api.gamemonitoring.in/servers/10571089
json
{
  "response": {
    "fps": 85,
    "fps_avg": 86,
    "entities_count": 97783,
    "world_seed": 1723283955,
    "world_size": 4000,
    "steam_id": "90286577366150164",
    "domain": null,
    "id": 10571089,
    "ip": "51.195.60.114",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Limburg an der Lahn",
    "description": "![[EU] ACCLUSTER.NET > Season 6](https://accluster.net/rust/img/acc_rust_headerv2.png)\n<<< SEASON 6 >>>\r\n\r\nGLOBAL CONFIG\r\n---------------------------------\r\n- Powerful Hardware\r\n- Daily external Backups\r\n- World Size is set to 4.000 (Balanced)\r\n- Seasonal Wipe Concept > https://accluster.net/rust\r\n- Additional Anti-Cheat Protection and Admin Support\r\n- Balanced Softcore PvP Setup (please read the Rules)\r\n- Teams are enabled but limited to 3 (no cross-teams)\r\n- Upkeeper Costs reduced (-50%) for a better Gameplay\r\n- Daily Server restart at 04:15 UTC (5-10 Min)\r\n- Rust++ is supported\r\n- Quality Support\r\n\r\nDecay slightly reduced for: \r\n- Buildings, Vehicles (Minicopters, Cars, Boats, etc.)\r\n- placeable Objects (e.g., Lanterns, Turrets)\r\n- Dead Bodys/Bags\r\n\r\nREAD THE RULES BEFORE PLAYING!\r\nMore Details follow soon(tm)\r\n\r\nUseful links:\r\n- https://accluster.net/rust\r\n- https://accluster.net/rust/wiki\r\n- https://accluster.net/discord",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779884603,
    "last_online": 1780583624,
    "icon": null,
    "name": "[EU] ACCLUSTER.NET > Season 6",
    "connect": "51.195.60.114:28015",
    "request": "51.195.60.114:28016",
    "map": "Procedural Map",
    "gamemode": "Softcore",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 150,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1762847003,
    "last_update": 1780583624,
    "banned": false,
    "wipe": 1778176775,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3743,
    "language": "de",
    "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/10571089");
$data = json_decode($json, true);
var_dump($data);