+Ploopora PVP 12 MAN MAX|X15LOOT|TRADER|BOATS|HELIS|EVENTS 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": 0,
"domain": null,
"id": 11538179,
"ip": "77.105.160.78",
"port": 31486,
"query": 30709,
"color": 0,
"city": "Amsterdam",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1779355351,
"last_online": 1779393013,
"icon": null,
"name": "+Ploopora PVP 12 MAN MAX|X15LOOT|TRADER|BOATS|HELIS|EVENTS",
"connect": "77.105.160.78:31486",
"request": "77.105.160.78:30709",
"map": "chernarusplus",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 255,
"maxplayers": 255,
"bots": 255,
"secured": true,
"private": false,
"country": "NL",
"status": true,
"votes": 0,
"points": 130,
"add_date": 1779355351,
"last_update": 1779393013,
"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": 28,
"language": "nl",
"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/11538179");
$data = json_decode($json, true);
var_dump($data);