API для BAR Community | !stats | FF | Medic | www.BAR-dods.com
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1552835004,
"app": {
"id": 8,
"name": "Day of Defeat: Source",
"steam_id": 300,
"url": "day-of-defeat-source"
},
"color": 0,
"connect": "208.167.243.207:27015",
"country": "US",
"domain": null,
"game": 300,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 143639,
"ip": "208.167.243.207",
"language": "en",
"last_update": 1794738966,
"map": "dod_kalt",
"maxplayers": 32,
"name": "BAR Community | !stats | FF | Medic | www.BAR-dods.com",
"numplayers": 0,
"official": null,
"points": 30,
"port": 27015,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27015,
"request": "208.167.243.207:27015",
"secured": true,
"status": true,
"steam_id": "90297452021149706",
"version": "11003710",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Piscataway",
"description": "",
"disabled_modules": [],
"gamemode": "Day of Defeat",
"hidden": false,
"last_offline": 1790331262,
"last_online": 1794738966,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 34,
"wipe_period": null,
"coop": "0",
"sv_tags": "HLstatsX:CE,alltalk,gravity",
"nextlevel": "",
"sv_bounce": "0",
"sv_cheats": "0",
"tv_enable": "0",
"deathmatch": "1",
"listentype": "d",
"sb_version": "1.8.5",
"sm_nextmap": "dod_argentan",
"sv_alltalk": "1",
"sv_contact": "",
"sv_gravity": "760",
"environment": "l",
"mp_teamlist": "hgrunt;scientist",
"mp_teamplay": "0",
"mp_winlimit": "5",
"sv_friction": "6",
"sv_maxspeed": "320",
"sv_password": "0",
"sv_pausable": "0",
"sv_stepsize": "18",
"tv_password": "0",
"a2s_protocol": 17,
"mp_allowNPCs": "1",
"mp_footsteps": "1",
"mp_fraglimit": "0",
"mp_timelimit": "25",
"sm_beacontag": "0",
"sm_bt_radius": "375",
"sv_footsteps": "1",
"sv_rollangle": "0",
"sv_rollspeed": "200",
"sv_specspeed": "3",
"sv_stopspeed": "50",
"hlxce_version": "",
"hlxce_webpage": "http://www.hlxcommunity.com",
"mp_falldamage": "1",
"mp_flashlight": "1",
"mp_weaponstay": "0",
"sv_accelerate": "10",
"sv_specnoclip": "1",
"sv_steamgroup": "",
"decalfrequency": "10",
"mp_fadetoblack": "0",
"sm_koth_enable": "1",
"sv_noclipspeed": "5",
"sv_voiceenable": "1",
"metamod_version": "1.11.0-dev+1148V",
"mp_forcerespawn": "1",
"mp_friendlyfire": "1",
"mp_autocrosshair": "1",
"players_complete": true,
"sv_airaccelerate": "10",
"sv_waterfriction": "1",
"tv_relaypassword": "0",
"r_JeepViewZHeight": "10.0",
"sbchecker_version": "2.0.0",
"sourcemod_version": "1.13.0.7439",
"sv_specaccelerate": "5",
"sv_wateraccelerate": "10",
"teamswitch_version": "1.3",
"r_VehicleViewDampen": "1",
"sbpp_report_version": "1.8.0",
"sm_dodstats_version": "1.9.3-bar-silent-sm112-v4.6.55-recovery-profile-lane",
"sm_koth_base_radius": "300.0",
"sourcecomms_version": "1.8.4",
"sv_noclipaccelerate": "5",
"bar_prophunt_version": "1.1.4-perf1",
"hlxce_plugin_version": "1.6.19",
"r_AirboatViewZHeight": "0.0",
"r_JeepViewDampenDamp": "1.0",
"r_JeepViewDampenFreq": "7.0",
"sm_koth_respawn_wave": "5.0",
"sm_permamute_version": "0.1",
"sv_vote_quorum_ratio": "0.6",
"sm_koth_capture_delay": "2.0",
"sm_spraybasic_version": "5.8b",
"superlogs_ges_version": "1.1.2",
"sm_dod_pistols_version": "1.0.201",
"sm_dod_realism_version": "1.0.202",
"sm_koth_winner_display": "5.0",
"superlogs_dods_version": "1.1.3",
"dod_realismmatch_helper": "pub-beta5",
"r_AirboatViewDampenDamp": "1.0",
"r_AirboatViewDampenFreq": "7.0",
"sm_mapvote_trigger_time": "180",
"sm_sourcesleuth_version": "1.8.0",
"sm_bar_voiceguard_enable": "1",
"sm_bar_voiceguard_notify": "1",
"sm_bar_voiceguard_window": "5.0",
"sm_dod_equipment_version": "0.0.6",
"sm_koth_spawn_protection": "2.0",
"sv_maxusrcmdprocessticks": "24",
"sm_advertisements_version": "0.5.5",
"sm_bar_voiceguard_timeout": "30.0",
"superlogs_generic_version": "1.0",
"sm_koth_stats_reload_delay": "30.0",
"sm_koth_vertical_tolerance": "96.0",
"sm_koth_fourteam_minplayers": "16",
"sm_bar_voiceguard_max_timeout": "300.0",
"sm_bar_voiceguard_min_interval": "1.10",
"sm_bar_voiceguard_strike_reset": "600.0",
"sm_bar_voiceguard_admin_immunity": "0",
"sm_bar_voiceguard_trigger_attempts": "8",
"sm_bar_voiceguard_timeout_multiplier": "2.0"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/143639");
$data = json_decode($json, true);
var_dump($data);