Killing Floor 2
API для JustHelixia's KF2 server
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/8892952json
{
"response": {
"steam_id": null,
"domain": null,
"id": 8892952,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": null,
"game": 232090,
"owner": 118346,
"boosts": 1,
"last_offline": 1761066202,
"score": 0,
"last_online": 1759102830,
"icon": null,
"name": "JustHelixia's KF2 server",
"connect": null,
"request": null,
"map": "KF-HELLMARKSTATION",
"gamemode": "Killing Floor 2",
"version": null,
"numplayers": 0,
"maxplayers": 6,
"bots": 0,
"secured": false,
"private": false,
"country": "NL",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1746458108,
"last_update": 1761066202,
"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": 910,
"language": "nl",
"parked": true,
"app": {
"id": 51,
"steam_id": 232090,
"name": "Killing Floor 2",
"url": "killing-floor-2"
},
"server_owner": {
"username": "Helixia",
"avatar": "eb910483-d19c-4f11-aad6-b97a46805aa5.jpg",
"last_online": 1746730218
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/8892952");
$data = json_decode($json, true);
var_dump($data);