API для #08 SPB-GS | Precision | Section 8
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90286007356423174",
"domain": null,
"id": 7479229,
"ip": "93.100.232.131",
"port": 7786,
"query": 27024,
"color": 0,
"city": "St Petersburg",
"description": null,
"game": 232090,
"owner": null,
"boosts": 1,
"last_offline": 1778725375,
"last_online": 1779487219,
"icon": null,
"name": "#08 SPB-GS | Precision | Section 8",
"connect": "93.100.232.131:7786",
"request": "93.100.232.131:27024",
"map": "kf-area52_a",
"gamemode": "Killing Floor 2",
"version": "1150",
"numplayers": 6,
"maxplayers": 6,
"bots": 5,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 82,
"add_date": 1739268803,
"last_update": 1779487219,
"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": 40,
"language": "ru",
"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/7479229");
$data = json_decode($json, true);
var_dump($data);