A BisectHosting Server - 04ee2038 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 223,
"fps_avg": 229,
"entities_count": 44393,
"world_seed": 1,
"world_size": 3000,
"steam_id": "90286136209526809",
"domain": null,
"id": 10741106,
"ip": "169.155.120.93",
"port": 26910,
"query": 26913,
"color": 0,
"city": "New York",
"description": null,
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780576419,
"last_online": 1780397480,
"icon": null,
"name": "A BisectHosting Server - 04ee2038",
"connect": "169.155.120.93:26910",
"request": "169.155.120.93:26913",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1766250793,
"last_update": 1780576419,
"banned": false,
"wipe": 1776123998,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 10653,
"language": "en",
"parked": false,
"app": {
"id": 252490,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/10741106");
$data = json_decode($json, true);
var_dump($data);