Killing Floor 2
API для [US] Public Server HoE++ [Precision Perks Only]
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11386242json
{
"response": {
"steam_id": "90284997248901121",
"domain": null,
"id": 11386242,
"ip": "129.158.247.191",
"port": 9000,
"query": 27015,
"color": 0,
"city": "Ashburn",
"description": null,
"game": 232090,
"owner": null,
"boosts": 1,
"last_offline": 1777189399,
"score": 0,
"last_online": 1777241435,
"icon": null,
"name": "[US] Public Server HoE++ [Precision Perks Only]",
"connect": "129.158.247.191:9000",
"request": "129.158.247.191:27015",
"map": "KF-Nuked-CDEdit",
"gamemode": "Public Server HoE++",
"version": "1150",
"numplayers": 1,
"maxplayers": 6,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 39,
"add_date": 1774596259,
"last_update": 1777241435,
"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": 92,
"language": "en",
"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/11386242");
$data = json_decode($json, true);
var_dump($data);