7 Days to Die
Game|Doza (PvE) х16384 |random map| 的 API
我们提供多种集成方式。 你可以使用其中任意一种,也可以通过 JSON API 自行创建集成。 如果你希望我们新增其他集成方式,请联系我们。 联系我们
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/10382115json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10382115,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": null,
"game": 251570,
"owner": 122672,
"boosts": 1,
"last_offline": 1762235577,
"score": 0,
"last_online": 1761318030,
"icon": null,
"name": "Game|Doza (PvE) х16384 |random map|",
"connect": null,
"request": null,
"map": "Xenoye County",
"gamemode": "7 Days To Die",
"version": null,
"numplayers": 0,
"maxplayers": 24,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1758664209,
"last_update": 1762235577,
"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": 9895,
"language": "ru",
"parked": true,
"app": {
"id": 49,
"steam_id": 251570,
"name": "7 Days to Die",
"url": "7-days-to-die"
},
"server_owner": {
"username": "marchukdubstep",
"avatar": "67314b04-5bc9-42fc-82cd-b906a2068cd5.jpg",
"last_online": 1761738536
},
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/10382115");
$data = json_decode($json, true);
var_dump($data);