Arma 2: DayZ Mod
The Dead Return|Groups+Missions+POI+Vehs|discord.me/tdr|by SkiG 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/4692671json
{
"response": {
"steam_id": 90284824241619970,
"domain": null,
"id": 4692671,
"ip": "192.223.24.141",
"port": 2302,
"query": 2303,
"color": 0,
"city": "New York",
"description": "",
"game": 224580,
"owner": null,
"boosts": 1,
"last_offline": 1776301312,
"score": 0,
"last_online": 1776896512,
"icon": null,
"name": "The Dead Return|Groups+Missions+POI+Vehs|discord.me/tdr|by SkiG",
"connect": "192.223.24.141:2302",
"request": "192.223.24.141:2303",
"map": null,
"gamemode": "Arma OA",
"version": "1.64.144629",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1717761844,
"last_update": 1776896512,
"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": 10,
"language": "en",
"parked": false,
"app": {
"id": 33381,
"steam_id": 224580,
"name": "Arma 2: DayZ Mod",
"url": "arma-2-dayz-mod"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/4692671");
$data = json_decode($json, true);
var_dump($data);