Space Engineers
BisectHosting Server - 2114b01d 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/10767046json
{
"response": {
"steam_id": "90284569743556636",
"domain": null,
"id": 10767046,
"ip": "173.240.148.146",
"port": 26935,
"query": 26935,
"color": 0,
"city": "Los Angeles",
"description": null,
"game": 244850,
"owner": null,
"boosts": 1,
"last_offline": 1774156928,
"score": 0,
"last_online": 1776451309,
"icon": null,
"name": "BisectHosting Server - 2114b01d",
"connect": "173.240.148.146:26935",
"request": "173.240.148.146:26935",
"map": "Home System",
"gamemode": "Space Engineers",
"version": "1208015",
"numplayers": 0,
"maxplayers": 4,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1766261657,
"last_update": 1776451309,
"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": 1246,
"language": "en",
"parked": false,
"app": {
"id": 97,
"steam_id": 244850,
"name": "Space Engineers",
"url": "space-engineers"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/10767046");
$data = json_decode($json, true);
var_dump($data);