Project Zomboid
Where Am I (UK) 的 API
我们提供多种集成方式。 你可以使用其中任意一种,也可以通过 JSON API 自行创建集成。 如果你希望我们新增其他集成方式,请联系我们。 联系我们
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/10743649json
{
"response": {
"steam_id": "90284174504451095",
"domain": null,
"id": 10743649,
"ip": "109.153.24.249",
"port": 16261,
"query": 16261,
"color": 0,
"city": "Coalville",
"description": "A newbie friendly PvE server. Where Am I (UK) https://discord.gg/nHhbdk3",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1775809924,
"score": 0,
"last_online": 1775823616,
"icon": null,
"name": "Where Am I (UK)",
"connect": "109.153.24.249:16261",
"request": "109.153.24.249:16261",
"map": "RavenCreek;Muldraugh, KY",
"gamemode": "Project Zomboid",
"version": "41.78.19",
"numplayers": 0,
"maxplayers": 25,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1766251259,
"last_update": 1775823616,
"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": 1186,
"language": "en",
"parked": false,
"app": {
"id": 71,
"steam_id": 108600,
"name": "Project Zomboid",
"url": "project-zomboid"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/10743649");
$data = json_decode($json, true);
var_dump($data);