Zombie Master: Reborn
ZMR Developer Server (Beta 6) Custom 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/1469824json
{
"response": {
"steam_id": "85568392924083023",
"domain": null,
"id": 1469824,
"ip": "192.99.54.241",
"port": 27016,
"query": 27016,
"color": 0,
"city": "Beauharnois",
"description": "",
"game": 813990,
"owner": null,
"boosts": 1,
"last_offline": 1768642922,
"score": null,
"last_online": 1776313210,
"icon": null,
"name": "ZMR Developer Server (Beta 6) Custom",
"connect": "192.99.54.241:27016",
"request": "192.99.54.241:27016",
"map": "zm_asdf_b5",
"gamemode": "Zombie Master: Reborn b6",
"version": "6630498",
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": false,
"private": false,
"country": "CA",
"status": true,
"votes": 0,
"points": 92,
"add_date": 1697314138,
"last_update": 1776313210,
"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": 2,
"language": "en",
"parked": false,
"app": {
"id": 1665374,
"steam_id": 813990,
"name": "Zombie Master: Reborn",
"url": "zombie-master-reborn"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/1469824");
$data = json_decode($json, true);
var_dump($data);