+Blackmeadow PVP/PVE CUSTOM BUILDING | Quests | Cars | Trader | 20x Loot 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": 0,
"domain": null,
"id": 11538257,
"ip": "77.221.135.72",
"port": 39590,
"query": 24032,
"color": 0,
"city": "Secaucus",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1779355353,
"last_online": 1779390012,
"icon": null,
"name": "+Blackmeadow PVP/PVE CUSTOM BUILDING | Quests | Cars | Trader | 20x Loot",
"connect": "77.221.135.72:39590",
"request": "77.221.135.72:24032",
"map": "chernarusplus",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 254,
"maxplayers": 255,
"bots": 254,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 130,
"add_date": 1779355353,
"last_update": 1779390012,
"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": 45,
"language": "en",
"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/11538257");
$data = json_decode($json, true);
var_dump($data);