BoonSword NOV 3 | manage.boonsword.carrierclass.cc 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": "90286156401547276",
"domain": null,
"id": 11579458,
"ip": "101.100.131.56",
"port": 28781,
"query": 28781,
"color": 0,
"city": "Auckland",
"description": null,
"game": 9000020,
"owner": null,
"boosts": 1,
"last_offline": 1779678212,
"last_online": 1779685955,
"icon": null,
"name": "BoonSword NOV 3 | manage.boonsword.carrierclass.cc",
"connect": "101.100.131.56:28781",
"request": "101.100.131.56:28781",
"map": "edana",
"gamemode": "MS:C NOV2015a",
"version": "1.1.2.2",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": false,
"private": false,
"country": "NZ",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779356976,
"last_update": 1779685955,
"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": 7,
"language": "en",
"parked": false,
"app": {
"id": 115,
"steam_id": 9000020,
"name": "Master Sword: Continued",
"url": "master-sword-continued"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11579458");
$data = json_decode($json, true);
var_dump($data);