Killing Floor 2
API для Huwhyte PRECISION PERK ONLY oldschool HoE+ #7, NoVA, no EDARs/Q
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/908480json
{
"response": {
"steam_id": "90283571690496021",
"domain": null,
"id": 908480,
"ip": "5.161.149.88",
"port": 27816,
"query": 47054,
"color": 0,
"city": "Ashburn",
"description": "",
"game": 232090,
"owner": null,
"boosts": 1,
"last_offline": 1775323332,
"score": null,
"last_online": 1777236652,
"icon": null,
"name": "Huwhyte PRECISION PERK ONLY oldschool HoE+ #7, NoVA, no EDARs/Q",
"connect": "5.161.149.88:27816",
"request": "5.161.149.88:47054",
"map": "KF-Extreme_Scrake_Challenge",
"gamemode": "Killing Floor 2",
"version": "1150",
"numplayers": 0,
"maxplayers": 6,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1684750240,
"last_update": 1777236652,
"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": 197,
"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/908480");
$data = json_decode($json, true);
var_dump($data);