Rusty Barrel || Solo Only || Bi-Weekly के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
json
{
"response": {
"fps": 48,
"fps_avg": 49,
"entities_count": 109280,
"world_seed": 318375622,
"world_size": 4250,
"steam_id": "90286432864447502",
"domain": null,
"id": 4142526,
"ip": "156.236.84.217",
"port": 28050,
"query": 28051,
"color": 0,
"city": "City of London",
"description": "![[EU] Rusty Barrel - *Solo Only* *Bi-Weekly*](https://i.postimg.cc/44hQ7ZfK/New-Project.jpg)\nWelcome to the Rusty Barrel Experience 2.0, Reimagined, Reignited, Reborn!\r\nEU / Bi-Weekly / Solo Only / BPs Wipe / Est. 2020\r\n\r\n Cheaters/exploiters get booted.\r\n No spam, slurs, or discrimination.\r\n No Rust game bans on current or previous account(s).",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780212234,
"last_online": 1780573831,
"icon": null,
"name": "Rusty Barrel || Solo Only || Bi-Weekly",
"connect": "156.236.84.217:28050",
"request": "156.236.84.217:28051",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2625",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1714822959,
"last_update": 1780573831,
"banned": false,
"wipe": 1779385541,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2655,
"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/4142526");
$data = json_decode($json, true);
var_dump($data);