Killing Floor 2
API для #3 Trinkfreunde-heidelberg.de Community Server endless mode
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11386138json
{
"response": {
"steam_id": "90283658782838806",
"domain": null,
"id": 11386138,
"ip": "195.201.167.246",
"port": 7797,
"query": 27035,
"color": 0,
"city": "Falkenstein",
"description": null,
"game": 232090,
"owner": null,
"boosts": 1,
"last_offline": 1774830086,
"score": 0,
"last_online": 1777241525,
"icon": null,
"name": "#3 Trinkfreunde-heidelberg.de Community Server endless mode",
"connect": "195.201.167.246:7797",
"request": "195.201.167.246:27035",
"map": "KF-NUKED",
"gamemode": "Killing Floor 2",
"version": "1150",
"numplayers": 0,
"maxplayers": 6,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1774596255,
"last_update": 1777241525,
"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": 630,
"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/11386138");
$data = json_decode($json, true);
var_dump($data);