Arma 3
� [ OFFICIAL ] Arma 3 Expedition Forces EU #5 Warlords 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/6752554json
{
"response": {
"steam_id": "90284752584266766",
"domain": null,
"id": 6752554,
"ip": "95.156.239.77",
"port": 2502,
"query": 2503,
"color": 0,
"city": "Frankfurt am Main",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1776798800,
"score": 0,
"last_online": 1776825123,
"icon": null,
"name": "� [ OFFICIAL ] Arma 3 Expedition Forces EU #5 Warlords",
"connect": "95.156.239.77:2502",
"request": "95.156.239.77:2503",
"map": "enoch",
"gamemode": "Warlords",
"version": "2.20.153701",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": false,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1732708981,
"last_update": 1776825123,
"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": 871,
"language": "de",
"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/6752554");
$data = json_decode($json, true);
var_dump($data);