API für 6月1日新档、SCUM#3399硬核仿官服、送855、小队入住有福利、严查挂、
JSON für Programme, Websites und mehr
text
json
{
"response": {
"build": 118271,
"extraFlags": 0,
"nameHeaderRaw": "f0df1c010003",
"statusFlags": 0,
"type": 0,
"unknownStatusFlags": 0,
"steam_id": null,
"domain": null,
"id": 11753587,
"ip": "202.189.18.36",
"port": 5602,
"query": 5602,
"color": 0,
"city": "Beijing",
"description": null,
"game": 513710,
"owner": null,
"boosts": 1,
"last_offline": 1780519380,
"last_online": 1780568415,
"icon": null,
"name": "6月1日新档、SCUM#3399硬核仿官服、送855、小队入住有福利、严查挂、",
"connect": "202.189.18.36:5602",
"request": "202.189.18.36:5602",
"map": null,
"gamemode": "community-direct",
"version": "1.3.0.1.118271",
"numplayers": 112,
"maxplayers": 128,
"bots": 0,
"secured": null,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 114,
"add_date": 1780519380,
"last_update": 1780568415,
"banned": false,
"wipe": null,
"official": false,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 29,
"language": "zh",
"parked": false,
"app": {
"id": 11540,
"steam_id": 513710,
"name": "SCUM",
"url": "scum"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11753587");
$data = json_decode($json, true);
var_dump($data);