Arma 3
(JP)TEAM TORUMA COOP 参加方法はYOUTUBEで調べて~ 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/10987649json
{
"response": {
"steam_id": "90284421225673732",
"domain": null,
"id": 10987649,
"ip": "133.18.122.85",
"port": 2302,
"query": 2303,
"color": 0,
"city": "Chiyoda City",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1776286914,
"score": 0,
"last_online": 1776335432,
"icon": null,
"name": "(JP)TEAM TORUMA COOP 参加方法はYOUTUBEで調べて~",
"connect": "133.18.122.85:2302",
"request": "133.18.122.85:2303",
"map": "archie",
"gamemode": "ARCHEV2",
"version": "2.20.152984",
"numplayers": 7,
"maxplayers": 20,
"bots": 0,
"secured": false,
"private": true,
"country": "JP",
"status": true,
"votes": 0,
"points": 48,
"add_date": 1769902764,
"last_update": 1776335432,
"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": 27,
"language": "ja",
"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/10987649");
$data = json_decode($json, true);
var_dump($data);