Arma 3
RallyPoint ARMA | discord.gg/3AYFBMbFfj 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/10312925json
{
"response": {
"steam_id": "90284750173667329",
"domain": null,
"id": 10312925,
"ip": "94.19.25.224",
"port": 2302,
"query": 2303,
"color": 0,
"city": "St Petersburg",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1776816799,
"score": 0,
"last_online": 1776802830,
"icon": null,
"name": "RallyPoint ARMA | discord.gg/3AYFBMbFfj",
"connect": "94.19.25.224:2302",
"request": "94.19.25.224:2303",
"map": "cup_chernarus_A3",
"gamemode": "Grozovia cooked",
"version": "2.20.153701",
"numplayers": 5,
"maxplayers": 8,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 28,
"add_date": 1758289499,
"last_update": 1776816799,
"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": 3153,
"language": "ru",
"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/10312925");
$data = json_decode($json, true);
var_dump($data);