API для â–ˆ BEATDOWN BRAWL
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1791981661,
"app": {
"id": 81,
"name": "Fistful of Frags",
"steam_id": 265630,
"url": "fistful-of-frags"
},
"color": 0,
"connect": "178.33.39.169:37368",
"country": "DE",
"domain": null,
"game": 265630,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 18185838,
"ip": "178.33.39.169",
"language": "de",
"last_update": 1792357674,
"map": "fof_sawmill_12",
"maxplayers": 20,
"name": "â–ˆ BEATDOWN BRAWL",
"numplayers": 0,
"official": null,
"points": 0,
"port": 37368,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 37368,
"request": "178.33.39.169:37368",
"secured": true,
"status": false,
"steam_id": "90294877524228112",
"version": "631",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Кёльн",
"description": null,
"disabled_modules": [],
"gamemode": "4 Teams Shootout",
"hidden": false,
"last_offline": 1792357674,
"last_online": 1791986302,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 536,
"wipe_period": null,
"coop": "0",
"sv_tags": "friendlyfire,public,replays,secure",
"nextlevel": "",
"sv_cheats": "0",
"tv_enable": "0",
"deathmatch": "1",
"listentype": "d",
"sv_alltalk": "0",
"sv_contact": "",
"environment": "l",
"mp_winlimit": "0",
"sv_password": "0",
"sv_pausable": "0",
"tv_password": "1",
"a2s_protocol": 17,
"mp_fraglimit": "0",
"mp_timelimit": "0",
"sv_specnoclip": "0",
"mp_fadetoblack": "0",
"sv_voiceenable": "1",
"mp_friendlyfire": "0",
"players_complete": true,
"tv_relaypassword": "1"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/18185838");
$data = json_decode($json, true);
var_dump($data);