API für 【熊猫君】x1000/千倍/我来啦!
JSON für Programme, Websites und mehr
text
json
{
"response": {
"steam_id": "90286558561639428",
"domain": null,
"id": 11756518,
"ip": "120.220.76.192",
"port": 12871,
"query": 12881,
"color": 0,
"city": "Jinan",
"description": null,
"game": 393420,
"owner": null,
"boosts": 1,
"last_offline": 1780601069,
"last_online": 1780647187,
"icon": null,
"name": "【熊猫君】x1000/千倍/我来啦!",
"connect": "120.220.76.192:12871",
"request": "120.220.76.192:12881",
"map": "主服",
"gamemode": "Hurtworld",
"version": "191",
"numplayers": 1,
"maxplayers": 160,
"bots": 0,
"secured": true,
"private": true,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1780520245,
"last_update": 1780647187,
"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": 68,
"language": "zh",
"parked": false,
"app": {
"id": 134,
"steam_id": 393420,
"name": "Hurtworld",
"url": "hurtworld"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11756518");
$data = json_decode($json, true);
var_dump($data);