Unturned
API für 仓鼠网咖 PvP | 5F | 纯净公益 | Arid
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/8830761json
{
"response": {
"steam_id": "85568392929673678",
"domain": null,
"id": 8830761,
"ip": "110.42.32.21",
"port": 20122,
"query": 20122,
"color": 0,
"city": "Ningbo",
"description": null,
"game": 304930,
"owner": null,
"boosts": 1,
"last_offline": 1775221332,
"score": 0,
"last_online": 1776102629,
"icon": "https://www.airgame.net/files/images/icon.jpg",
"name": "仓鼠网咖 PvP | 5F | 纯净公益 | Arid",
"connect": "110.42.32.21:20122",
"request": "110.42.32.21:20122",
"map": "Arid",
"gamemode": "原版体验 | 微调平衡 | 地图全开 | 不掉手衣",
"version": "3.26.2.2",
"numplayers": 0,
"maxplayers": 128,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1746105446,
"last_update": 1776102629,
"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": 242,
"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/8830761");
$data = json_decode($json, true);
var_dump($data);