API для Attack Unit
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1794212099,
"app": {
"id": 11,
"name": "Left 4 Dead 2",
"steam_id": 550,
"url": "left-4-dead-2"
},
"color": 0,
"connect": "78.1.157.167:27015",
"country": "HR",
"domain": null,
"game": 550,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 19862063,
"ip": "78.1.157.167",
"language": "hr",
"last_update": 1794670490,
"map": "c8m1_apartment",
"maxplayers": 5,
"name": "Attack Unit",
"numplayers": 0,
"official": null,
"points": 0,
"port": 27015,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27015,
"request": "78.1.157.167:27015",
"secured": true,
"status": false,
"steam_id": "90297090805531653",
"version": "2.2.4.3",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Загреб",
"description": null,
"disabled_modules": [],
"gamemode": "Left 4 Dead 2",
"hidden": false,
"last_offline": 1794670490,
"last_online": 1794276715,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 23856,
"wipe_period": null,
"nextlevel": "",
"listentype": "d",
"environment": "l",
"a2s_protocol": 17,
"ib_gren_types": "3",
"l4d2_crawling": "1",
"mt_autoupdate": "0",
"mt_configfile": "mutant_tanks.cfg",
"sv_steamgroup": "46315814",
"ib_grab_enabled": "0",
"mt_gamemodetypes": "0",
"mt_graphicslevel": "3",
"mt_listensupport": "0",
"mt_pluginenabled": "1",
"players_complete": true,
"ib_melee_max_team": "3",
"hard28_throw_speed": "2.00",
"l4d2_crawling_glow": "0",
"l4d2_crawling_hint": "1",
"l4d2_crawling_hurt": "2",
"l4d2_crawling_rate": "15",
"l4d2_crawling_spit": "1",
"l4d2_crawling_view": "1",
"l4d_reload_fix_m60": "0",
"l4d_safe_spam_lock": "0",
"hard28_melee_deploy": "1.60",
"hard28_reload_speed": "1.80",
"l4d2_crawling_crazy": "0",
"l4d2_crawling_modes": "",
"l4d2_crawling_speed": "30",
"l4d_backpack_enable": "1",
"mt_enabledgamemodes": "",
"l4d_backpack_weapons": "0",
"l4d_backpack_welcome": "1",
"l4d_safe_spam_lock_2": "0",
"l4d_spot_marker_team": "3",
"mt_disabledgamemodes": "",
"AI_HardSI_Tank_enable": "0",
"hard28_firearm_deploy": "2.00",
"l4d_reservedslots_adm": "1",
"l4d_spot_marker_alive": "1",
"l4d_spot_marker_field": "1",
"l4d_spot_marker_intro": "15",
"l4d_weapon_spawn_glow": "100",
"l4d2_crawling_hint_num": "2",
"l4d2_melee_spawn_allow": "1",
"l4d2_melee_spawn_modes": "",
"l4d_backpack_help_mode": "1",
"l4d_backpack_max_items": "8",
"l4d_reservedslots_flag": "z",
"l4d_reservedslots_hide": "1",
"l4d_spot_marker_enable": "1",
"l4d_spot_marker_sprite": "0",
"l4d_weapon_spawn_allow": "1",
"l4d_weapon_spawn_count": "0",
"l4d_weapon_spawn_modes": "",
"vscript_replacer_debug": "0",
"hard28_throwable_deploy": "3.00",
"l4d2_crawling_modes_off": "",
"l4d2_crawling_modes_tog": "0",
"l4d2_melee_spawn_random": "-1",
"l4d_backpack_autorefill": "1",
"l4d_backpack_carry_coop": "0",
"l4d_backpack_start_kits": "0",
"l4d_backpack_start_late": "1",
"l4d_backpack_start_mols": "0",
"l4d_safe_spam_fall_time": "0",
"l4d_safe_spam_modes_tog": "1",
"l4d_weapon_spawn_random": "-1",
"wh_use_incap_cycle_cvar": "0",
"l4d_backpack_encumbrance": "0",
"l4d_backpack_start_biles": "0",
"l4d_backpack_start_pills": "2",
"l4d_backpack_start_pipes": "3",
"l4d_gear_transfer_notify": "0",
"l4d_spot_marker_cooldown": "5",
"l4d_spot_marker_duration": "10",
"ib_grab_mapsearchdistance": "700",
"l4d_backpack_start_adrens": "0",
"l4d_backpack_start_defibs": "0",
"l4d_spot_marker_intro_msg": "1",
"l4d_spot_marker_use_sound": "buttons/blip1.wav",
"wh_deploy_animation_speed": "1",
"l4d2_melee_spawn_modes_off": "",
"l4d2_melee_spawn_modes_tog": "0",
"l4d2_melee_spawn_randomise": "0",
"l4d_backpack_lose_on_death": "1",
"l4d_infected_movement_bots": "3",
"l4d_tank_punch_force_allow": "1",
"l4d_tank_punch_force_fling": "1",
"l4d_tank_punch_force_force": "4.55",
"l4d_tank_punch_force_incap": "0.0",
"l4d_tank_punch_force_modes": "",
"l4d_weapon_spawn_modes_off": "",
"l4d_weapon_spawn_modes_tog": "0",
"l4d_weapon_spawn_randomise": "0",
"l4d_infected_movement_allow": "2",
"l4d_spot_marker_field_alpha": "255",
"l4d_spot_marker_field_color": "255 255 255",
"l4d_spot_marker_field_width": "3.0",
"l4d_tank_punch_force_forcez": "227.5",
"l4d_weapon_auto_fire_enable": "1",
"l4d_weapon_auto_fire_pistol": "0",
"l4d_weapon_spawn_glow_color": "0 255 0",
"wh_double_pistol_cycle_rate": "0",
"l4d_backpack_start_firepacks": "0",
"l4d_gear_transfer_types_give": "126789",
"l4d_spot_marker_field_offset": "24.0",
"l4d_spot_marker_field_repeat": "1.0",
"l4d_spot_marker_sprite_alpha": "255",
"l4d_spot_marker_sprite_color": "255 255 0",
"l4d_spot_marker_sprite_scale": "0.25",
"l4d_spot_marker_sprite_speed": "1.0",
"l4d_incapped_weapons_friendly": "0",
"l4d_incapped_weapons_restrict": "12,15,23,24,30,31",
"l4d_spot_marker_sprite_z_axis": "50.0",
"l4d_incapped_weapons_heal_text": "0",
"l4d_infectedbots_announce_chat": "0",
"l4d_spot_marker_field_duration": "1.0",
"l4d_spot_marker_sprite_min_max": "4.0",
"l4d_tank_punch_force_modes_off": "",
"l4d_tank_punch_force_modes_tog": "0",
"l4d_backpack_start_explodepacks": "0",
"l4d_incapped_weapons_heal_adren": "0",
"l4d_incapped_weapons_heal_pills": "0",
"l4d_spot_marker_field_amplitude": "0.0",
"l4d_spot_marker_skill_ready_msg": "1",
"l4d_spot_marker_spot_marked_msg": "1",
"l4d_weapon_auto_fire_sniper_awp": "0",
"SafeRoomNaps_CanWeUseCustomValue": "1",
"SafeRoomNaps_RemoveBlackAndWhite": "1.0",
"hard28_grenade_flight_multiplier": "1.25",
"l4d_infected_movement_speed_tank": "210",
"l4d_infectedbots_announce_server": "0",
"l4d_spot_marker_field_end_radius": "100.0",
"l4d_weapon_auto_fire_dual_pistol": "1",
"SafeRoomNaps_CustomSaferoomHealth": "70",
"SafeRoomNaps_TempHealthMultiplier": "0.0",
"l4d_spot_marker_skill_ready_sound": "ui/alert_clink.wav",
"l4d_spot_marker_sync_random_color": "1",
"l4d_weapon_auto_fire_auto_shotgun": "0",
"l4d_weapon_auto_fire_pump_shotgun": "0",
"l4d_weapon_auto_fire_shotgun_spas": "0",
"l4d_weapon_auto_fire_sniper_scout": "0",
"l4d_infected_movement_delay_smoker": "1.5",
"l4d_spot_marker_field_start_radius": "75.0",
"l4d_weapon_auto_fire_hunting_rifle": "0",
"l4d_weapon_auto_fire_pistol_magnum": "0",
"l4d_weapon_auto_fire_weapon_switch": "0",
"l4d_weapon_auto_fire_shotgun_chrome": "0",
"l4d_spot_marker_sprite_fade_distance": "-1",
"l4d_weapon_auto_fire_sniper_military": "0",
"l4d_weapon_auto_fire_grenade_launcher": "0",
"l4d_weapon_auto_fire_dual_pistol_frame": "3",
"l4d_weapon_auto_fire_machine_gun_release": "0",
"l4d_weapon_auto_fire_shotgun_reload_empty": "0",
"SafeRoomNaps_VeryHealthyTempHealthMultiplier": "1.0",
"l4d_weapon_auto_fire_dual_pistol_force_sound": "1"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/19862063");
$data = json_decode($json, true);
var_dump($data);