API für 纯净工艺 · 原野 #3 - Seversk: 三周年双倍爆率!
JSON für Programme, Websites und mehr
text
json
{
"response": {
"steam_id": "85568392935927934",
"domain": null,
"id": 11212604,
"ip": "43.248.99.224",
"port": 27024,
"query": 27024,
"color": 0,
"city": "Zhenjiang",
"description": null,
"game": 304930,
"owner": null,
"boosts": 1,
"last_offline": 1780604603,
"last_online": 1780473652,
"icon": "https://img.astlora.cn/logo/p.pnl",
"name": "纯净工艺 · 原野 #3 - Seversk: 三周年双倍爆率!",
"connect": "43.248.99.224:27024",
"request": "43.248.99.224:27024",
"map": "Seversk",
"gamemode": "稳定高配|沉浸式|死亡不掉|十倍物资",
"version": "3.26.3.2",
"numplayers": 0,
"maxplayers": 48,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1772700900,
"last_update": 1780604603,
"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": 1920,
"language": "zh",
"parked": false,
"app": {
"id": 48,
"steam_id": 304930,
"name": "Unturned",
"url": "unturned"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11212604");
$data = json_decode($json, true);
var_dump($data);