DayZ
Mountain Project |WIPE 08.04|CHERNO|PVP|VANILLA++ 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11488697json
{
"response": {
"steam_id": "90284409602622490",
"domain": null,
"id": 11488697,
"ip": "212.22.93.192",
"port": 2312,
"query": 2315,
"color": 0,
"city": "Moscow",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1776218514,
"score": 0,
"last_online": 1776267622,
"icon": null,
"name": "Mountain Project |WIPE 08.04|CHERNO|PVP|VANILLA++",
"connect": "212.22.93.192:2312",
"request": "212.22.93.192:2315",
"map": "chernarusplus",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 4,
"maxplayers": 60,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 34,
"add_date": 1775754990,
"last_update": 1776267622,
"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": 1841,
"language": "ru",
"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/11488697");
$data = json_decode($json, true);
var_dump($data);