API für 『熊大』2倍|萌新|无权|6月9号新档|浴血奋战
JSON für Programme, Websites und mehr
text
json
{
"response": {
"oxide": true,
"modded": true,
"fps": 109,
"fps_avg": 107,
"entities_count": 80901,
"world_seed": 50004,
"world_size": 4000,
"steam_id": "90286817956628507",
"domain": null,
"id": 11771260,
"ip": "202.189.11.116",
"port": 18888,
"query": 18891,
"project_id": null,
"color": 0,
"city": "Beijing",
"description": "\n↗欢迎来到【熊大】服务器\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\n★限制组队四人\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\n★禁挂.办宏.禁卡石头.\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\n★轻松娱乐!\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\n————————————————————————",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1781046858,
"last_online": 1781047398,
"icon": null,
"name": "『熊大』2倍|萌新|无权|6月9号新档|浴血奋战",
"connect": "202.189.11.116:18888",
"request": "202.189.11.116:18891",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 0,
"add_date": 1780996887,
"last_update": 1781047398,
"banned": false,
"wipe": 1780623039,
"official": null,
"wipe_period": "weekly",
"next_wipe": 1781227839,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 10288,
"language": "zh",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11771260");
$data = json_decode($json, true);
var_dump($data);