DayZ
BumZ - Nyheim Testing - will wipe with no warning 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11110437json
{
"response": {
"steam_id": 90284455606277140,
"domain": null,
"id": 11110437,
"ip": "185.216.144.79",
"port": 2491,
"query": 2492,
"color": 0,
"city": "City of London",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1775672527,
"score": 0,
"last_online": 1776294674,
"icon": null,
"name": "BumZ - Nyheim Testing - will wipe with no warning",
"connect": "185.216.144.79:2491",
"request": "185.216.144.79:2492",
"map": "nyheim",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": true,
"country": "GB",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1770050870,
"last_update": 1776294674,
"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": 3448,
"language": "en",
"parked": false,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11110437");
$data = json_decode($json, true);
var_dump($data);