Core Keeper
Indifferent Broccoli Core Keeper Server 的 API
我们提供多种集成方式。 你可以使用其中任意一种,也可以通过 JSON API 自行创建集成。 如果你希望我们新增其他集成方式,请联系我们。 联系我们
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/8304418json
{
"response": {
"steam_id": "90278488944132111",
"domain": null,
"id": 8304418,
"ip": "208.75.182.137",
"port": 27030,
"query": 27031,
"color": 0,
"city": "Dallas",
"description": null,
"game": 1621690,
"owner": null,
"boosts": 1,
"last_offline": 1768642803,
"score": 0,
"last_online": 1775930441,
"icon": null,
"name": "Indifferent Broccoli Core Keeper Server",
"connect": "208.75.182.137:27030",
"request": "208.75.182.137:27031",
"map": null,
"gamemode": "Core Keeper",
"version": "1.1.2.10-bcc6",
"numplayers": 0,
"maxplayers": 4,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1743322493,
"last_update": 1775930441,
"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": 46,
"language": "en",
"parked": false,
"app": {
"id": 1560042,
"steam_id": 1621690,
"name": "Core Keeper",
"url": "core-keeper"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/8304418");
$data = json_decode($json, true);
var_dump($data);