DevGamers Extreme PvE DeerIsle |EXTREME|MORE STUFF|LOOT+| 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": "90286603832925211",
"domain": null,
"id": 11537246,
"ip": "31.46.171.41",
"port": 2303,
"query": 27016,
"color": 0,
"city": "Szigetszentmiklós",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1780478056,
"last_online": 1780602729,
"icon": null,
"name": "DevGamers Extreme PvE DeerIsle |EXTREME|MORE STUFF|LOOT+|",
"connect": "31.46.171.41:2303",
"request": "31.46.171.41:27016",
"map": "deerisle",
"gamemode": null,
"version": "1.29.163047",
"numplayers": 0,
"maxplayers": 30,
"bots": 0,
"secured": true,
"private": false,
"country": "HU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779355332,
"last_update": 1780602729,
"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": 6840,
"language": "hu",
"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/11537246");
$data = json_decode($json, true);
var_dump($data);