Dokkys Bv.|Monthly|Low Upkeep|OfflineProtection 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 85,
"fps_avg": 83,
"entities_count": 121017,
"world_seed": 675758609,
"world_size": 4500,
"steam_id": "90286265979210753",
"domain": null,
"id": 9662769,
"ip": "77.173.36.243",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Culemborg",
"description": "Dokky's Bv. \r\nWelcome to the Do\r\nDokky's Bv. \r\nWelcome to the Dokky's Rust Server! \r\nMonthly: Update & Map Wipe (No BP Wipe) \r\n \r\n \r\nRules: \r\n-No Cheating \r\n-No VAC \r\n-English chat only \r\n______________________________ \r\n→40% upkeep \r\n→Offline raid protection up to 12 hours (decreases after 12h) \r\n→Less Hackeblecrate timer (321 seconds) \r\n→Map size 4500 \r\n→Bigger Stack sizes",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780553021,
"last_online": 1779883819,
"icon": null,
"name": "Dokkys Bv.|Monthly|Low Upkeep|OfflineProtection",
"connect": "77.173.36.243:28015",
"request": "77.173.36.243:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "NL",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1751634353,
"last_update": 1780553021,
"banned": false,
"wipe": 1778261914,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 10568,
"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.cn/servers/9662769");
$data = json_decode($json, true);
var_dump($data);