Serious Sam 3: BFE
Rakonet 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11143448json
{
"response": {
"steam_id": "90284195794493463",
"domain": null,
"id": 11143448,
"ip": "95.216.231.212",
"port": 27015,
"query": null,
"color": 0,
"city": "Helsinki",
"description": null,
"game": 41070,
"owner": 171520,
"boosts": 1,
"last_offline": 1775850685,
"score": 0,
"last_online": 1775995218,
"icon": null,
"name": "Rakonet",
"connect": "95.216.231.212:27015",
"request": null,
"map": "01_CairoSquare",
"gamemode": "Serious Sam 3",
"version": "0.1.200.142",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": false,
"country": "FI",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1771890392,
"last_update": 1775995218,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": true,
"position_game": 2,
"language": "de",
"parked": false,
"app": {
"id": 52,
"steam_id": 41070,
"name": "Serious Sam 3: BFE",
"url": "serious-sam-3-bfe"
},
"server_owner": {
"username": "rallimo",
"avatar": "no.jpg",
"last_online": 1771969506
},
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11143448");
$data = json_decode($json, true);
var_dump($data);