Den of chaos 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": "90286907815683088",
"domain": null,
"id": 10664602,
"ip": "161.97.158.188",
"port": 34400,
"query": 34415,
"project_id": null,
"color": 0,
"city": "Lauterbourg",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1778250788,
"last_online": 1781283737,
"icon": null,
"name": "Den of chaos",
"connect": "161.97.158.188:34400",
"request": "161.97.158.188:34415",
"map": "VRisingWorld",
"gamemode": "b6aa6e0e-4800-45cb-a3ca-5b554a5cfbaf",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": true,
"country": "FR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1764545484,
"last_update": 1781283737,
"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": 1153,
"language": "fr",
"parked": false,
"app": {
"id": 55075,
"steam_id": 1604030,
"name": "V Rising",
"url": "v-rising"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/10664602");
$data = json_decode($json, true);
var_dump($data);