Battle Cry of Freedom
14th BK Event 3.15.26 8:00pm EST 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11181876json
{
"response": {
"steam_id": "90282970736614429",
"domain": null,
"id": 11181876,
"ip": "38.92.48.101",
"port": 8262,
"query": 8263,
"color": 0,
"city": "Dallas",
"description": null,
"game": 1358710,
"owner": null,
"boosts": 1,
"last_offline": 1773604930,
"score": 0,
"last_online": 1776340984,
"icon": null,
"name": "14th BK Event 3.15.26 8:00pm EST",
"connect": "38.92.48.101:8262",
"request": "38.92.48.101:8263",
"map": "Custom Map: Conquest",
"gamemode": "Battle Cry of Freedom",
"version": "150418R2",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1772229878,
"last_update": 1776340984,
"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": 3,
"language": "en",
"parked": false,
"app": {
"id": 1579664,
"steam_id": 1358710,
"name": "Battle Cry of Freedom",
"url": "battle-cry-of-freedom"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11181876");
$data = json_decode($json, true);
var_dump($data);