Killing Floor 2
API для [RUS.MSK] Scandroid [KF2_#12]
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/3139789json
{
"response": {
"steam_id": "90284972521544722",
"domain": null,
"id": 3139789,
"ip": "93.81.254.195",
"port": 7888,
"query": 27126,
"color": 0,
"city": "Moscow",
"description": "",
"game": 232090,
"owner": null,
"boosts": 1,
"last_offline": 1777218205,
"score": null,
"last_online": 1777241473,
"icon": null,
"name": "[RUS.MSK] Scandroid [KF2_#12]",
"connect": "93.81.254.195:7888",
"request": "93.81.254.195:27126",
"map": "KF-SPILLWAY",
"gamemode": "Killing Floor 2",
"version": "1150",
"numplayers": 0,
"maxplayers": 6,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1709044338,
"last_update": 1777241473,
"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": 269,
"language": "ru",
"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/3139789");
$data = json_decode($json, true);
var_dump($data);