Killing Floor
API für PotatoServer.Live | KF1 Standard
Wir bieten eine breite Auswahl an Integrationsmethoden. Sie können eine davon verwenden oder Ihre eigene mit der JSON-API erstellen. Wenn Sie einen Vorschlag für eine neue Integrationsmethode haben, kontaktieren Sie uns bitte. Kontaktieren Sie uns
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11142974json
{
"response": {
"steam_id": 90071992547409920,
"domain": null,
"id": 11142974,
"ip": "144.202.49.95",
"port": 7709,
"query": 28854,
"color": 0,
"city": "Elk Grove Village",
"description": null,
"game": 1250,
"owner": 158179,
"boosts": 1,
"last_offline": 1775712123,
"score": 0,
"last_online": 1775811619,
"icon": null,
"name": "PotatoServer.Live | KF1 Standard",
"connect": "144.202.49.95:7709",
"request": "144.202.49.95:28854",
"map": "KF-Bedlam",
"gamemode": "Killing Floor",
"version": "1.0.6.5",
"numplayers": 0,
"maxplayers": 6,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1771018726,
"last_update": 1775811619,
"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": 8,
"language": "en",
"parked": false,
"app": {
"id": 50,
"steam_id": 1250,
"name": "Killing Floor",
"url": "killing-floor"
},
"server_owner": {
"username": "potatoserver",
"avatar": "0aa338d8-4f05-4205-bb4d-ccec2dadc8be.png",
"last_online": 1775459945
},
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11142974");
$data = json_decode($json, true);
var_dump($data);