Arma 3
discord.gg/VqaqDctqXY [DE] Antistasi /ACE/TFAR/KAT 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11165960json
{
"response": {
"steam_id": "90284569599517726",
"domain": null,
"id": 11165960,
"ip": "85.190.128.138",
"port": 13000,
"query": 13001,
"color": 0,
"city": "Frankfurt am Main",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1776441154,
"score": 0,
"last_online": 1776464427,
"icon": null,
"name": "discord.gg/VqaqDctqXY [DE] Antistasi /ACE/TFAR/KAT",
"connect": "85.190.128.138:13000",
"request": "85.190.128.138:13001",
"map": "Altis",
"gamemode": "Antistasi Ultimate - Altis",
"version": "2.20.152984",
"numplayers": 5,
"maxplayers": 10,
"bots": 0,
"secured": false,
"private": true,
"country": "DE",
"status": true,
"votes": 0,
"points": 52,
"add_date": 1772228614,
"last_update": 1776464427,
"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": 44,
"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/11165960");
$data = json_decode($json, true);
var_dump($data);