*Fresh Wipe* MenaceIISociety | Trios | 1PP | Keys | Hacked Crat 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": 0,
"domain": null,
"id": 11539107,
"ip": "2.26.90.50",
"port": 31994,
"query": 14629,
"color": 0,
"city": "Orem",
"description": "DayZ-Expansion-Core��m��!~DayZ-Expansion-LicensedD����6�RaG_BaseBuildingۖ�QA��RaG_Core������DayZ",
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1780440795,
"last_online": 1780570214,
"icon": null,
"name": "*Fresh Wipe* MenaceIISociety | Trios | 1PP | Keys | Hacked Crat",
"connect": "2.26.90.50:31994",
"request": "2.26.90.50:14629",
"map": "chernarusplus",
"gamemode": null,
"version": "1.29.163047",
"numplayers": 89,
"maxplayers": 100,
"bots": 89,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 123,
"add_date": 1779355377,
"last_update": 1780570214,
"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": 222,
"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/11539107");
$data = json_decode($json, true);
var_dump($data);