Killing Floor 2
API для Secret 7 MOD RPG 500 LVLS
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10443098json
{
"response": {
"steam_id": "90284972523844626",
"domain": null,
"id": 10443098,
"ip": "78.63.115.57",
"port": 7777,
"query": 27015,
"color": 0,
"city": "Vilnius",
"description": null,
"game": 232090,
"owner": null,
"boosts": 1,
"last_offline": 1777106018,
"score": 0,
"last_online": 1777236638,
"icon": null,
"name": "Secret 7 MOD RPG 500 LVLS",
"connect": "78.63.115.57:7777",
"request": "78.63.115.57:27015",
"map": "KF-KillZone",
"gamemode": "Killing Floor 2",
"version": "1150",
"numplayers": 1,
"maxplayers": 10,
"bots": 1,
"secured": true,
"private": false,
"country": "LT",
"status": true,
"votes": 0,
"points": 37,
"add_date": 1759913181,
"last_update": 1777236638,
"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": 126,
"language": "lt",
"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/10443098");
$data = json_decode($json, true);
var_dump($data);