Space Engineers
Keen RU #4 (new) 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/6305878json
{
"response": {
"steam_id": null,
"domain": null,
"id": 6305878,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": null,
"game": 244850,
"owner": 90398,
"boosts": 1,
"last_offline": 1756334708,
"score": 5,
"last_online": 1752438034,
"icon": null,
"name": "Keen RU #4 (new)",
"connect": null,
"request": null,
"map": "World RU #4",
"gamemode": "Space Engineers",
"version": null,
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1729583686,
"last_update": 1756334708,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1767,
"language": "ru",
"parked": true,
"app": {
"id": 97,
"steam_id": 244850,
"name": "Space Engineers",
"url": "space-engineers"
},
"server_owner": {
"username": "KelevRuS",
"avatar": "651ccccc-2cf4-44de-aabd-867a4593d11a.jpg",
"last_online": 1747202929
},
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/6305878");
$data = json_decode($json, true);
var_dump($data);