The Isle
Noobz - High AI - US Server! #1 的 API
我们提供多种集成方式。 你可以使用其中任意一种,也可以通过 JSON API 自行创建集成。 如果你希望我们新增其他集成方式,请联系我们。 联系我们
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/916248json
{
"response": {
"steam_id": "90284127863784453",
"domain": null,
"id": 916248,
"ip": "66.85.14.204",
"port": 7777,
"query": 27015,
"color": 0,
"city": "Chicago",
"description": "",
"game": 376210,
"owner": null,
"boosts": 1,
"last_offline": 1775408612,
"score": 3,
"last_online": 1775742022,
"icon": null,
"name": "Noobz - High AI - US Server! #1",
"connect": "66.85.14.204:7777",
"request": "66.85.14.204:27015",
"map": "Isle V3",
"gamemode": "Survival",
"version": "0.1.8.1",
"numplayers": 34,
"maxplayers": 135,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 47,
"add_date": 1684753675,
"last_update": 1775742022,
"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": 30,
"language": "en",
"parked": false,
"app": {
"id": 136,
"steam_id": 376210,
"name": "The Isle",
"url": "the-isle",
"popular_maps_available": false
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/916248");
$data = json_decode($json, true);
var_dump($data);