API für Johny K. on Kool-PC
JSON für Programme, Websites und mehr
text
json
{
"response": {
"steam_id": "90286580733862937",
"domain": null,
"id": 11708505,
"ip": "24.107.220.171",
"port": 2302,
"query": 2303,
"color": 0,
"city": "City of Saint Peters",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1780543464,
"last_online": 1780560045,
"icon": null,
"name": "Johny K. on Kool-PC",
"connect": "24.107.220.171:2302",
"request": "24.107.220.171:2303",
"map": "mehland",
"gamemode": "Antistasi Ultimate - Mehland",
"version": "2.20.152984",
"numplayers": 2,
"maxplayers": 16,
"bots": 0,
"secured": false,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 37,
"add_date": 1780262856,
"last_update": 1780560045,
"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": 81,
"language": "en",
"parked": false,
"app": {
"id": 61,
"steam_id": 107410,
"name": "Arma 3",
"url": "arma-3"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11708505");
$data = json_decode($json, true);
var_dump($data);