Arma 2: Operation Arrowhead
[FR]THE OLDMEN BACK CHERNARUS (1.0.7.1/144629) 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/10481150json
{
"response": {
"steam_id": "90284383041433618",
"domain": null,
"id": 10481150,
"ip": "82.67.171.109",
"port": 2302,
"query": 2303,
"color": 0,
"city": "Nanterre",
"description": null,
"game": 33930,
"owner": null,
"boosts": 1,
"last_offline": 1775506283,
"score": 0,
"last_online": 1776220850,
"icon": null,
"name": "[FR]THE OLDMEN BACK CHERNARUS (1.0.7.1/144629)",
"connect": "82.67.171.109:2302",
"request": "82.67.171.109:2303",
"map": null,
"gamemode": "Arma OA",
"version": "1.64.144629",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": false,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1760514588,
"last_update": 1776220850,
"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": 110,
"language": "fr",
"parked": false,
"app": {
"id": 62,
"steam_id": 33930,
"name": "Arma 2: Operation Arrowhead",
"url": "arma-2-operation-arrowhead"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/10481150");
$data = json_decode($json, true);
var_dump($data);