Battle Grounds III
API для The Battle Grounds III
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11489800json
{
"response": {
"steam_id": "90284869039540233",
"domain": null,
"id": 11489800,
"ip": "188.242.153.179",
"port": 27015,
"query": 27015,
"color": 0,
"city": "St Petersburg",
"description": null,
"game": 1057700,
"owner": null,
"boosts": 1,
"last_offline": 1777503762,
"score": 0,
"last_online": 1776974441,
"icon": null,
"name": "The Battle Grounds III",
"connect": "188.242.153.179:27015",
"request": "188.242.153.179:27015",
"map": "ctf_mill_creek",
"gamemode": "Battle Grounds III",
"version": "4630212",
"numplayers": 0,
"maxplayers": 128,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1776866761,
"last_update": 1777503762,
"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": 8,
"language": "ru",
"parked": false,
"app": {
"id": 36641,
"steam_id": 1057700,
"name": "Battle Grounds III",
"url": "battle-grounds-iii"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11489800");
$data = json_decode($json, true);
var_dump($data);