Killing Floor
API для [Perth|WA][TFF-20][Whitelisted] Perk leveling and Achievements
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/812558json
{
"response": {
"steam_id": "90284088217848834",
"domain": null,
"id": 812558,
"ip": "103.231.89.50",
"port": 7772,
"query": 28917,
"color": 0,
"city": "Перт",
"description": "",
"game": 1250,
"owner": null,
"boosts": 1,
"last_offline": 1768642005,
"score": null,
"last_online": 1776517320,
"icon": null,
"name": "[Perth|WA][TFF-20][Whitelisted] Perk leveling and Achievements",
"connect": "103.231.89.50:7772",
"request": "103.231.89.50:28917",
"map": "KF-TestZSpawningZoneV30ULTIMATE",
"gamemode": "Killing Floor",
"version": "1.0.6.5",
"numplayers": 0,
"maxplayers": 6,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1684358323,
"last_update": 1776517320,
"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": 102,
"language": "en",
"parked": false,
"app": {
"id": 50,
"steam_id": 1250,
"name": "Killing Floor",
"url": "killing-floor"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/812558");
$data = json_decode($json, true);
var_dump($data);