Killing Floor 2
API для ROSB Killing Floor 2 Server
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/559763json
{
"response": {
"steam_id": "90284880982453259",
"domain": null,
"id": 559763,
"ip": "81.169.166.42",
"port": 7777,
"query": 27015,
"color": 0,
"city": "Berlin",
"description": "",
"game": 232090,
"owner": null,
"boosts": 1,
"last_offline": 1776999792,
"score": null,
"last_online": 1777236655,
"icon": null,
"name": "ROSB Killing Floor 2 Server",
"connect": "81.169.166.42:7777",
"request": "81.169.166.42:27015",
"map": "KF-BIOTICSLAB",
"gamemode": "Killing Floor 2",
"version": "1135",
"numplayers": 0,
"maxplayers": 6,
"bots": 0,
"secured": true,
"private": true,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1666643423,
"last_update": 1777236655,
"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": 179,
"language": "de",
"parked": false,
"app": {
"id": 51,
"steam_id": 232090,
"name": "Killing Floor 2",
"url": "killing-floor-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/559763");
$data = json_decode($json, true);
var_dump($data);