API для 姨妈的世界 【战役/三方】
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1794560659,
"app": {
"id": 11,
"name": "Left 4 Dead 2",
"steam_id": 550,
"url": "left-4-dead-2"
},
"color": 0,
"connect": "182.146.202.213:27023",
"country": "CN",
"domain": null,
"game": 550,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 20070211,
"ip": "182.146.202.213",
"language": "zh",
"last_update": 1794675886,
"map": "c5m2_park",
"maxplayers": 8,
"name": "姨妈的世界 【战役/三方】",
"numplayers": 0,
"official": null,
"points": 30,
"port": 27023,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27023,
"request": "182.146.202.213:27023",
"secured": false,
"status": true,
"steam_id": "90297413001244683",
"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": null,
"last_online": 1794675886,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 19899,
"wipe_period": null,
"god": "0",
"coop": "0",
"buddha": "0",
"sv_tags": "",
"lmc_glow": "1",
"nextlevel": "",
"smg_items": "2",
"sv_bounce": "0",
"sv_cheats": "0",
"tv_enable": "0",
"deathmatch": "1",
"listentype": "d",
"mp_c4timer": "45",
"rife_items": "2",
"sm_nextmap": "",
"sv_alltalk": "0",
"sv_contact": "",
"sv_gravity": "800",
"a4d_version": "2.0.0",
"doubleitems": "1",
"environment": "w",
"melee_items": "2",
"mp_teamlist": "hgrunt;scientist",
"mp_teamplay": "0",
"mp_winlimit": "0",
"sm_m60_ammo": "450",
"sv_friction": "4",
"sv_maxspeed": "1000.000000",
"sv_password": "0",
"sv_stepsize": "18",
"throw_items": "0",
"tv_password": "0",
"a2s_protocol": 17,
"l4d_doorlock": "1",
"lmc_hinttime": "5.0",
"mp_allowNPCs": "1",
"mp_footsteps": "1",
"mp_fraglimit": "0",
"mp_maxrounds": "0",
"mp_roundtime": "5",
"mp_timelimit": "0",
"pistol_items": "2",
"random_items": "2",
"sniper_items": "2",
"sv_footsteps": "1",
"sv_rollangle": "0",
"sv_rollspeed": "200",
"sv_specspeed": "3",
"sv_stopspeed": "75",
"lmc_adminonly": "0",
"lmc_allowtank": "0",
"lmc_glowflash": "20",
"lmc_glowrange": "800.0",
"lmc_hintrange": "600",
"mp_falldamage": "0",
"mp_flashlight": "1",
"mp_freezetime": "6",
"mp_limitteams": "2",
"mp_tournament": "0",
"mp_weaponstay": "0",
"shotgun_items": "2",
"sv_accelerate": "5",
"sv_maxplayers": "8",
"sv_specnoclip": "1",
"sv_steamgroup": "12160739",
"decalfrequency": "10",
"firstaid_items": "2",
"lmc_glowcolour": "255 255 255",
"lmc_hintcolour": "255 0 0",
"lmc_noticetype": "3",
"mp_fadetoblack": "0",
"survivor_limit": "4",
"sv_noclipspeed": "5",
"sv_voiceenable": "1",
"tauntfrequency": "1",
"lmc_allowboomer": "0",
"lmc_allowhunter": "0",
"lmc_allowsmoker": "0",
"metamod_version": "2.0.0-dev+1399V",
"mp_forcerespawn": "1",
"mp_friendlyfire": "1",
"l4d_doorlock_pos": "2000",
"mp_autocrosshair": "1",
"players_complete": true,
"sv_airaccelerate": "10",
"sv_waterfriction": "1",
"tv_relaypassword": "0",
"a_ivanlee_version": "1.0.0",
"defib_fix_version": "2.0.1",
"l4d2_adminhp_tips": "1",
"l4d_doorlock_down": "0",
"l4d_doorlock_rush": "10",
"l4d_doorlock_show": "0",
"l4d_doorlock_spam": "1",
"l4d_doorlock_trap": "100",
"lmc_blackandwhite": "1",
"r_JeepViewZHeight": "10.0",
"sm_crawling__hurt": "5",
"sm_doublejump_max": "1",
"sm_selfhelp__kill": "2",
"sourcemod_version": "1.13.0.7346",
"sv_noclipfriction": "4",
"sv_specaccelerate": "5",
"l4d2_adminhp_limit": "100",
"l4d2_shield_attach": "2",
"l4d_doorlock_debug": "1",
"lmc_allowSurvivors": "1",
"lmc_spec_hide_bots": "1",
"lmc_teamnoticetype": "0",
"mp_autoteambalance": "1",
"sm_crawling__color": "65536",
"sm_crawling__speed": "45",
"sm_keeplasers_mode": "1",
"sm_selfhelp__force": "1",
"sv_wateraccelerate": "10",
"l4d2_mitsr_run_mode": "0",
"l4d_doorlock_change": "30",
"l4d_doorlock_secmax": "15",
"l4d_doorlock_secmin": "10",
"l4d_flashlight_lock": "0",
"l4d_flashlight_spec": "0",
"mp_stalemate_enable": "0",
"r_VehicleViewDampen": "1",
"sm_doublejump_boost": "260.0",
"sm_selfhelp__pickup": "1",
"sv_force_unreserved": "1",
"sv_noclipaccelerate": "5",
"tf_arena_max_streak": "5",
"tf_arena_round_time": "0",
"director_afk_timeout": "45",
"l4d2_help_heal_bonus": "30",
"l4d2_mitsr_run_count": "1",
"l4d_flashlight_allow": "1",
"l4d_flashlight_flags": "",
"l4d_flashlight_hints": "0",
"l4d_flashlight_intro": "0.0",
"l4d_flashlight_modes": "",
"lmc_bwnotice_version": "2.0.2",
"lmc_hide_defib_model": "1",
"r_AirboatViewZHeight": "0.0",
"r_JeepViewDampenDamp": "1.0",
"r_JeepViewDampenFreq": "7.0",
"sm_keeplasers_manual": "3",
"l4d2_help_cover_bonus": "3",
"l4d2_help_heal_random": "1",
"l4d2_mitsr_custom_mod": "1",
"l4d2_mitsr_list_black": "",
"l4d2_mitsr_list_white": "",
"l4d2_scs_01_load_save": "0",
"l4d2_shield_drop_tank": "50",
"l4d_flashlight_bright": "255.0",
"l4d_flashlight_colour": "148 0 211",
"lmc_ai_model_infected": "0",
"lmc_ai_model_survivor": "0",
"l4d2_help_cover_random": "1",
"l4d2_help_revive_bonus": "15",
"l4d2_shield_drop_witch": "100",
"l4d_flashlight_version": "2.6.1",
"sm_selfhelp__allowitem": "15",
"sm_selfhelp__eachother": "1",
"tf_arena_preround_time": "10",
"l4d2_help_revive_random": "1",
"l4d2_mitsr_custom_knife": "1",
"l4d2_mitsr_custom_tonfa": "1",
"l4d2_respawn__main_menu": "1",
"l4d2_shield_reduce_tank": "50",
"r_AirboatViewDampenDamp": "1.0",
"r_AirboatViewDampenFreq": "7.0",
"l4d2_mitsr_custom_katana": "1",
"l4d2_mitsr_custom_shovel": "1",
"l4d2_shield_reduce_witch": "70",
"l4d2modelchanger_version": "2.1.5",
"l4d_console_spam_version": "1.3b -fix",
"l4d_flashlight_modes_off": "",
"l4d_flashlight_modes_tog": "0",
"lmc_allow_tank_model_use": "1",
"mp_disable_respawn_times": "0",
"mp_teams_unbalance_limit": "1",
"l4d2_mitsr_custom_crowbar": "1",
"l4d2_mitsr_custom_machete": "1",
"l4d2_scs_05_debug_enabled": "0",
"l4d2_shield_reduce_boomer": "100",
"l4d2_shield_reduce_hunter": "100",
"l4d2_shield_reduce_jockey": "100",
"l4d2_shield_reduce_smoker": "100",
"mp_stalemate_at_timelimit": "0",
"sm_selfhelp__requiredtime": "5",
"l4d2_mitsr_custom_fire_axe": "1",
"l4d2_shield_reduce_charger": "90",
"l4d2_shield_reduce_spitter": "100",
"witch_target_patch_version": "1.4",
"l4d2_mitsr_custom_golf_club": "1",
"l4d2_shield_drop_ledge_grab": "1",
"l4d2_shield_reduce_infected": "100",
"sm__multi_slots_patch__away": "1",
"sm__player_connect_meg__log": "0",
"l4d2_mitsr_custom_frying_pan": "1",
"l4d2_mitsr_custom_pitch_fork": "1",
"l4d2_mitsr_custom_riotshield": "1",
"l4d2_scs_03_menu_model_close": "0",
"l4d2_scs_04_menu_admin_close": "0",
"sm__multi_slots_patch__debug": "0",
"sm__player_connect_meg__exit": "2",
"sm__player_connect_meg__join": "2",
"l4d2_help_defibrillator_bonus": "30",
"l4d2_mitsr_custom_cricket_bat": "1",
"l4d2_mitsr_custom_elec_guitar": "1",
"l4d2_help_defibrillator_random": "1",
"l4d2_mitsr_custom_baseball_bat": "1",
"l4d2_shield_drop_incapacitated": "1",
"sm__player_connect_meg__reason": "1",
"l4d2_respawn__interval_infected": "10",
"l4d2_respawn__interval_survivor": "10",
"sm__multi_slots_patch__bot_name": "1",
"sm__multi_slots_patch__teleport": "1",
"sm__player_connect_meg__connect": "1",
"l4d2_scs_02_menu_character_close": "0",
"sm__multi_slots_patch__join_item": "0",
"sm__multi_slots_patch__refresh_dead": "0",
"sm__multi_slots_patch__idle_time_admin": "600",
"sm__multi_slots_patch__idle_time_player": "300",
"sm__multi_slots_patch__modified_afk_bot": "1",
"sm__multi_slots_patch__spawn_flow_limit": "0",
"sm__multi_slots_patch__modified_afk_bind": "1",
"sm__multi_slots_patch__modified_survivor": "1",
"sm__multi_slots_patch__save_nextmap_info": "1",
"sm__multi_slots_patch__modified_afk_player": "1"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/20070211");
$data = json_decode($json, true);
var_dump($data);