API für High as Gas
JSON für Programme, Websites und mehr
text
json
{
"response": {
"steam_id": "90285389634176018",
"domain": null,
"id": 11587724,
"ip": "144.126.153.224",
"port": 28200,
"query": 28215,
"project_id": null,
"color": 0,
"city": "St Louis",
"description": null,
"game": 3052620,
"owner": null,
"boosts": 1,
"last_offline": 1780847012,
"last_online": 1780260677,
"icon": null,
"name": "High as Gas",
"connect": "144.126.153.224:28200",
"request": "144.126.153.224:28215",
"map": "Mole_Hills: Conquest",
"gamemode": "Over The Top: WW1",
"version": "OTT_1.2",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": true,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779357477,
"last_update": 1780847012,
"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": 61,
"language": "en",
"parked": false,
"app": {
"id": 1665334,
"steam_id": 3052620,
"name": "noinfo3052620",
"url": "noinfo3052620"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11587724");
$data = json_decode($json, true);
var_dump($data);