Arma 3
Dawn Of Warhammer|Warhammer 40kRP 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/4099886json
{
"response": {
"steam_id": "90284564264854547",
"domain": null,
"id": 4099886,
"ip": "185.137.232.52",
"port": 2302,
"query": 2303,
"color": 0,
"city": "Moscow",
"description": "",
"game": 107410,
"owner": 95222,
"boosts": 1,
"last_offline": 1776434606,
"score": 0,
"last_online": 1776452419,
"icon": null,
"name": "Dawn Of Warhammer|Warhammer 40kRP",
"connect": "185.137.232.52:2302",
"request": "185.137.232.52:2303",
"map": "Maksniemi",
"gamemode": "Nerik_ow",
"version": "2.20.152984",
"numplayers": 12,
"maxplayers": 100,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 67,
"add_date": 1714658207,
"last_update": 1776452419,
"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": 29,
"language": "ru",
"parked": false,
"app": {
"id": 61,
"steam_id": 107410,
"name": "Arma 3",
"url": "arma-3"
},
"server_owner": {
"username": "markjustsayjambo",
"avatar": "9e533625-465c-411f-a7cf-ed17385ccd75.jpg",
"last_online": 1734457413
},
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/4099886");
$data = json_decode($json, true);
var_dump($data);