Killing Floor 2
API для Satets Chill Zone
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11386300json
{
"response": {
"steam_id": "90284970429922317",
"domain": null,
"id": 11386300,
"ip": "73.34.176.19",
"port": 28005,
"query": 28006,
"color": 0,
"city": "Highlands Ranch",
"description": null,
"game": 232090,
"owner": null,
"boosts": 1,
"last_offline": 1775878279,
"score": 0,
"last_online": 1777241455,
"icon": null,
"name": "Satets Chill Zone",
"connect": "73.34.176.19:28005",
"request": "73.34.176.19:28006",
"map": "KF-SANITARIUM",
"gamemode": "Satets Chill Zone",
"version": "1150",
"numplayers": 0,
"maxplayers": 6,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1774596261,
"last_update": 1777241455,
"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": 729,
"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/11386300");
$data = json_decode($json, true);
var_dump($data);