Multi Theft Auto
██ #4 | EU █ [BS] DAYZ ULTIMATE: MINT █ SURVIVAL, LOOT X2, HARD ZOMBIE, 186 VEHICLE 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/7343977json
{
"response": {
"steam_id": null,
"domain": null,
"id": 7343977,
"ip": "194.242.45.35",
"port": 22003,
"query": 22126,
"color": 0,
"city": "Dronten",
"description": null,
"game": 9000039,
"owner": null,
"boosts": 1,
"last_offline": 1770337298,
"score": 0,
"last_online": 1776801099,
"icon": null,
"name": "██ #4 | EU █ [BS] DAYZ ULTIMATE: MINT █ SURVIVAL, LOOT X2, HARD ZOMBIE, 186 VEHICLE",
"connect": "194.242.45.35:22003",
"request": "194.242.45.35:22126",
"map": "None",
"gamemode": "EU ██ DayZ Ultimate 1.5",
"version": "1.6",
"numplayers": 0,
"maxplayers": 80,
"bots": 0,
"secured": null,
"private": false,
"country": "NL",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1736941677,
"last_update": 1776801099,
"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": 20,
"language": "nl",
"parked": false,
"app": {
"id": 40530,
"steam_id": 9000039,
"name": "Multi Theft Auto",
"url": "multi-theft-auto"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/7343977");
$data = json_decode($json, true);
var_dump($data);