DayZ
DayZ Pure Vanilla | Mipko 的 API
我们提供多种集成方式。 你可以使用其中任意一种,也可以通过 JSON API 自行创建集成。 如果你希望我们新增其他集成方式,请联系我们。 联系我们
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11488221json
{
"response": {
"steam_id": 90284135042649100,
"domain": null,
"id": 11488221,
"ip": "178.32.109.170",
"port": 25582,
"query": 25580,
"color": 0,
"city": "Strasbourg",
"description": "[{\"id\":\"oL-odvhneU\",\"type\":\"paragraph\",\"data\":{\"text\":\"Mipko – it’s pure vanilla, nothing else. Cap loot is disabled.\"}},{\"id\":\"bcz8e6wwRZ\",\"type\":\"paragraph\",\"data\":{\"text\":\"Mipko — это чистая ваниль, больше ничего. Ограничение лута отключено.\\n\\nБудьте здоровы | Be healthy \"}}]",
"game": 221100,
"owner": 185868,
"boosts": 1,
"last_offline": 1775411934,
"score": 0,
"last_online": 1775750413,
"icon": null,
"name": "DayZ Pure Vanilla | Mipko",
"connect": "178.32.109.170:25582",
"request": "178.32.109.170:25580",
"map": "chernarusplus",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 2,
"points": 92,
"add_date": 1775411934,
"last_update": 1775750413,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": 1,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 543,
"language": "ru",
"parked": false,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": {
"username": "mipko",
"avatar": "95bdc41c-5cb3-4132-991d-38ac5526e0e1.jpg",
"last_online": 1775722447
},
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11488221");
$data = json_decode($json, true);
var_dump($data);