Arma 3
#1[KCCO][萌新战场|自由公开服]Q群:1053574660 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/10493503json
{
"response": {
"steam_id": "90284756126191639",
"domain": null,
"id": 10493503,
"ip": "103.45.143.10",
"port": 61200,
"query": 61201,
"color": 0,
"city": "Hankow",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1775461328,
"score": 0,
"last_online": 1776822640,
"icon": null,
"name": "#1[KCCO][萌新战场|自由公开服]Q群:1053574660",
"connect": "103.45.143.10:61200",
"request": "103.45.143.10:61201",
"map": "Altis",
"gamemode": "[KCCO]萌新自由战场-自由国度 Q群:1053574660",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 84,
"bots": 0,
"secured": false,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1761123502,
"last_update": 1776822640,
"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": 1467,
"language": "zh",
"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/10493503");
$data = json_decode($json, true);
var_dump($data);