696gaming Rust PvEvP | 3x Harvest | 5x Resource Stacks | Monthl 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 72,
"fps_avg": 81,
"entities_count": 103672,
"world_seed": 8675309,
"world_size": 4250,
"steam_id": "90286549068264456",
"domain": null,
"id": 11710932,
"ip": "23.239.29.178",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Richardson",
"description": "Quick-start PvEvP Rust on the Game Server Host. 3x general harvest, toned-down sulfur/HQM, 5x resource/component stacks, monthly wipe target, PvP enabled. Build fast, fight faster, complain efficiently.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780478056,
"last_online": 1780551632,
"icon": null,
"name": "696gaming Rust PvEvP | 3x Harvest | 5x Resource Stacks | Monthl",
"connect": "23.239.29.178:28015",
"request": "23.239.29.178:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 1,
"maxplayers": 60,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1780300741,
"last_update": 1780551632,
"banned": false,
"wipe": 1780208679,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 6042,
"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.cn/servers/11710932");
$data = json_decode($json, true);
var_dump($data);