API für HGKG3-4U4B2U
JSON für Programme, Websites und mehr
text
json
{
"response": {
"steam_id": "90287023392548894",
"domain": null,
"id": 11805966,
"ip": "209.58.191.56",
"port": 28518,
"query": 27518,
"project_id": null,
"color": 0,
"city": "Wan Chai",
"description": null,
"game": 374280,
"owner": null,
"boosts": 1,
"last_offline": 1781477645,
"last_online": 1781467276,
"icon": null,
"name": "HGKG3-4U4B2U",
"connect": "209.58.191.56:28518",
"request": "209.58.191.56:27518",
"map": "1",
"gamemode": "Contract Wars 2.0 Standalone",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 5,
"bots": 0,
"secured": true,
"private": false,
"country": "HK",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1781464849,
"last_update": 1781477645,
"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": 1199,
"language": "zh",
"parked": false,
"app": {
"id": 6495,
"steam_id": 374280,
"name": "Hired Ops",
"url": "hired-ops"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11805966");
$data = json_decode($json, true);
var_dump($data);