Arma 3
[CTB] CombatTeamBravo Server [AU/NZ] 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/2022821json
{
"response": {
"steam_id": 90284502268209170,
"domain": null,
"id": 2022821,
"ip": "103.62.51.131",
"port": 2652,
"query": 2653,
"color": 0,
"city": "Sydney",
"description": "",
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1776315712,
"score": null,
"last_online": 1776397343,
"icon": null,
"name": "[CTB] CombatTeamBravo Server [AU/NZ]",
"connect": "103.62.51.131:2652",
"request": "103.62.51.131:2653",
"map": null,
"gamemode": "Waiting",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 30,
"bots": 0,
"secured": false,
"private": true,
"country": "AU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1701374664,
"last_update": 1776397343,
"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": 551,
"language": "en",
"parked": false,
"app": {
"id": 61,
"steam_id": 107410,
"name": "Arma 3",
"url": "arma-3"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/2022821");
$data = json_decode($json, true);
var_dump($data);