API для 猜猜这个是谁的萌新服
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1783768661,
"app": {
"id": 11,
"name": "Left 4 Dead 2",
"steam_id": 550,
"url": "left-4-dead-2"
},
"color": 0,
"connect": "39.98.90.173:50002",
"country": "CN",
"domain": null,
"game": 550,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 11903694,
"ip": "39.98.90.173",
"language": "zh",
"last_update": 1790326268,
"map": "m1_nanfang",
"maxplayers": 5,
"name": "猜猜这个是谁的萌新服",
"numplayers": 0,
"official": null,
"points": 30,
"port": 50002,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 50002,
"request": "39.98.90.173:50002",
"secured": false,
"status": true,
"steam_id": "90288757082773520",
"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": 1790259681,
"last_online": 1790326268,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 9125,
"wipe_period": null,
"god": "0",
"coop": "0",
"buddha": "0",
"sv_tags": "hidden",
"lmc_glow": "1",
"nextlevel": "",
"sv_bounce": "0",
"sv_cheats": "0",
"tv_enable": "0",
"bots_limit": "4",
"deathmatch": "1",
"listentype": "d",
"mp_c4timer": "45",
"sm_nextmap": "",
"sv_alltalk": "0",
"sv_contact": "",
"sv_gravity": "800",
"environment": "l",
"mp_teamlist": "hgrunt;scientist",
"mp_teamplay": "0",
"mp_winlimit": "0",
"sv_friction": "4",
"sv_maxspeed": "1000.000000",
"sv_password": "0",
"sv_stepsize": "18",
"tv_password": "0",
"a2s_protocol": 17,
"bots_version": "1.11.8",
"lmc_hinttime": "10.0",
"mp_allowNPCs": "1",
"mp_footsteps": "1",
"mp_fraglimit": "0",
"mp_maxrounds": "0",
"mp_roundtime": "5",
"mp_timelimit": "0",
"sv_footsteps": "1",
"sv_rollangle": "0",
"sv_rollspeed": "200",
"sv_specspeed": "3",
"sv_stopspeed": "75",
"l4d2_text_msg": "1",
"lmc_glowflash": "20",
"lmc_glowrange": "800.0",
"lmc_hintrange": "1200",
"mp_falldamage": "0",
"mp_flashlight": "1",
"mp_freezetime": "6",
"mp_limitteams": "2",
"mp_tournament": "0",
"mp_weaponstay": "0",
"sv_accelerate": "5",
"sv_specnoclip": "1",
"sv_steamgroup": "",
"bots_give_time": "0",
"bots_give_type": "2",
"decalfrequency": "10",
"l4d2_PZDmg_msg": "1",
"lmc_glowcolour": "0 0 255",
"lmc_hintcolour": "0 0 255",
"lmc_noticetype": "1",
"mp_fadetoblack": "0",
"rygive_version": "1.2.3",
"sv_noclipspeed": "5",
"sv_voiceenable": "1",
"tauntfrequency": "1",
"bots_give_slot0": "2079",
"bots_give_slot1": "10960",
"bots_give_slot2": "0",
"bots_give_slot3": "0",
"bots_give_slot4": "3",
"bots_join_flags": "3",
"bots_join_limit": "-1",
"choose_bot_data": "0",
"l4d2_infectedhp": "1",
"lmccore_version": "3.1.0",
"metamod_version": "1.11.0-dev+1155V",
"mp_forcerespawn": "1",
"mp_friendlyfire": "1",
"notify_map_next": "1",
"bots_spec_notify": "3",
"l4d2_server_cvar": "1",
"mp_autocrosshair": "1",
"players_complete": true,
"sv_airaccelerate": "10",
"sv_waterfriction": "1",
"tv_relaypassword": "0",
"bots_join_respawn": "-1",
"defib_fix_version": "2.0.1",
"l4d2_infectedhp_a": "1",
"l4d2_more_medical": "7",
"l4d2_player_death": "1",
"l4d2_tank_Ranking": "5",
"lmc_blackandwhite": "1",
"r_JeepViewZHeight": "10.0",
"sourcemod_version": "1.11.0.6968",
"sv_noclipfriction": "4",
"sv_specaccelerate": "5",
"l4d2_item_hint_cmd": "1",
"l4d2_witch_Ranking": "5",
"l4d_scs_auto_model": "1",
"l4d_unreserve_full": "1",
"lmc_teamnoticetype": "0",
"mp_autoteambalance": "1",
"sm_hitsound_enable": "1",
"sv_wateraccelerate": "10",
"l4d2_addons_eclipse": "-1",
"l4d2_infectedhp_bar": "70",
"l4d2_infectedhp_num": "1",
"l4d_csm_admin_flags": "",
"l4d_scs_tab_hud_bar": "1",
"left4dhooks_version": "1.155",
"map_changer_version": "1.0.5",
"mp_stalemate_enable": "0",
"r_VehicleViewDampen": "1",
"sv_noclipaccelerate": "5",
"tf_arena_max_streak": "5",
"tf_arena_round_time": "0",
"director_afk_timeout": "20",
"l4d2_data_write_file": "1",
"l4d2_infectedhp_tank": "1",
"l4d2_infectedhp_type": "0",
"lmc_bwnotice_version": "2.0.2",
"r_AirboatViewZHeight": "0.0",
"r_JeepViewDampenDamp": "1.0",
"r_JeepViewDampenFreq": "7.0",
"l4d2_infectedhp_witch": "1",
"l4d2_item_hint_shiftE": "1",
"l4d2_map_vote_version": "1.1",
"l4d2_speed_reload_smg": "2",
"l4d2_tank_player_idle": "1",
"l4d_csm_in_transition": "1",
"l4d_unreserve_version": "2.0.4",
"sm_fire_damage_enable": "0",
"command_buffer_version": "2.8",
"l4d2_infectedhp_damage": "",
"l4d2_infectedhp_health": "|",
"l4d2_player_disconnect": "1",
"l4d2_speed_melee_knife": "2",
"l4d2_speed_melee_tonfa": "2",
"l4d2_spot_marker_color": "0 255 255",
"sm_blast_damage_enable": "1",
"sm_hit_infected_enable": "1",
"sm_hitsound_pic_enable": "1",
"tf_arena_preround_time": "10",
"weaponhandling_version": "1.0.6",
"l4d2_defibrillator_used": "1",
"l4d2_infectedhp_version": "1.0.4",
"l4d2_item_hint_vocalize": "1",
"l4d2_nativevote_version": "0.4",
"l4d2_speed_melee_katana": "2",
"l4d2_speed_melee_shovel": "2",
"l4d2_speed_reload_rifle": "2",
"r_AirboatViewDampenDamp": "1.0",
"r_AirboatViewDampenFreq": "7.0",
"sm_kill_infected_enable": "1",
"wh_use_incap_cycle_cvar": "1",
"l4d2_item_hint_mark_dead": "0",
"l4d2_speed_melee_Version": "1.0.0",
"l4d2_speed_melee_crowbar": "2",
"l4d2_speed_melee_fireaxe": "2",
"l4d2_speed_melee_machete": "2",
"l4d2_speed_reload_pistol": "2",
"mp_disable_respawn_times": "0",
"mp_teams_unbalance_limit": "1",
"sm_hitsound_melee_enable": "0",
"sm_hitsound_sound_enable": "1",
"l4d2_ladder_patch_version": "1.1",
"l4d2_player_incapacitated": "1",
"l4d2_speed_melee_golfclub": "2",
"l4d2_speed_reload_Version": "1.0.0",
"l4d2_speed_reload_smg_mp5": "2",
"l4d2_spot_marker_duration": "15.0",
"mp_stalemate_at_timelimit": "0",
"wh_deploy_animation_speed": "-1",
"l4d2_item_hint_mark_capped": "0",
"l4d2_item_marker_use_range": "150",
"l4d2_item_marker_use_sound": "buttons/blip1.wav",
"l4d2_speed_melee_pitchfork": "2",
"l4d2_spot_marker_use_range": "2000",
"l4d2_spot_marker_use_sound": "buttons/blip1.wav",
"sm_hitsound_death_report_x": "-0.315",
"sm_hitsound_death_report_y": "0.4",
"witch_target_patch_version": "1.4",
"l4d2_enabled_safeRoomDoor_a": "1",
"l4d2_enabled_safeRoomDoor_b": "1",
"l4d2_enabled_safeRoomDoor_c": "5",
"l4d2_enabled_safeRoomDoor_d": "1",
"l4d2_enabled_safeRoomDoor_e": "5",
"l4d2_enabled_safeRoomDoor_f": "2.0",
"l4d2_item_hint_mark_hanging": "0",
"l4d2_item_marker_glow_color": "0 255 255",
"l4d2_item_marker_glow_range": "1000",
"l4d2_item_marker_glow_timer": "15.0",
"l4d2_speed_melee_frying_pan": "2",
"l4d2_speed_reload_rifle_m60": "2",
"lmc_aggressive_model_checks": "0",
"wh_double_pistol_cycle_rate": "0",
"l4d2_speed_melee_cricket_bat": "2",
"l4d2_speed_reload_rifle_ak47": "2",
"l4d2_speed_reload_sniper_awp": "2",
"l4d2_infectedhp_zmykey_boomer": "1",
"l4d2_infectedhp_zmykey_hunter": "1",
"l4d2_infectedhp_zmykey_jockey": "1",
"l4d2_infectedhp_zmykey_smoker": "1",
"l4d2_speed_melee_baseball_bat": "2",
"l4d2_speed_reload_autoshotgun": "2",
"l4d2_speed_reload_pumpshotgun": "2",
"l4d2_speed_reload_rifle_sg552": "2",
"mapchanger_finale_change_type": "12",
"sm_hitsound_death_report_line": "0",
"sm_hitsound_death_report_time": "0",
"l4d2_M60_nodrop_ammopile_patch": "950",
"l4d2_infected_marker_use_range": "2000",
"l4d2_infected_marker_use_sound": "items/suitchargeok1.wav",
"l4d2_infectedhp_zmykey_charger": "1",
"l4d2_infectedhp_zmykey_spitter": "1",
"l4d2_item_marker_announce_type": "1",
"l4d2_item_marker_cooldown_time": "1.0",
"l4d2_speed_reload_rifle_desert": "2",
"l4d2_speed_reload_shotgun_spas": "2",
"l4d2_speed_reload_smg_silenced": "2",
"l4d2_speed_reload_sniper_scout": "2",
"l4d2_spot_marker_announce_type": "0",
"l4d2_spot_marker_cooldown_time": "2.5",
"l4d2_survivor_marker_use_range": "1000",
"l4d2_survivor_marker_use_sound": "player/suit_denydevice.wav",
"sm_hitsound_death_report_width": "0",
"transition_restore_fix_version": "1.2.5",
"charger_collision_patch_version": "2.0.1",
"l4d2_infected_marker_glow_color": "255 120 203",
"l4d2_infected_marker_glow_range": "2500",
"l4d2_infected_marker_glow_timer": "10.0",
"l4d2_speed_reload_hunting_rifle": "2",
"l4d2_speed_reload_pistol_magnum": "2",
"l4d2_survivor_marker_glow_color": "0 200 0",
"l4d2_survivor_marker_glow_range": "2000",
"l4d2_survivor_marker_glow_timer": "10.0",
"mapchanger_finale_failure_count": "2",
"sm_hitsound_death_report_enable": "0",
"sm_hitsound_death_report_height": "0",
"l4d2_speed_melee_electric_guitar": "2",
"l4d2_speed_reload_shotgun_chrome": "2",
"mapchanger_finale_random_nextmap": "0",
"l4d2_infected_marker_witch_enable": "1",
"l4d2_speed_reload_sniper_military": "2",
"sm_hitsound_pic_infect_hit_enable": "1",
"l4d2_ammo_set_enabled_ammo_smgammo": "999",
"l4d2_infected_marker_announce_type": "1",
"l4d2_infected_marker_cooldown_time": "0.25",
"l4d2_speed_reload_grenade_launcher": "2",
"l4d2_survivor_marker_announce_type": "1",
"l4d2_survivor_marker_cooldown_time": "1.0",
"sm_hitsound_pic_infect_kill_enable": "1",
"l4d2_ammo_set_enabled_ammo_Ammosets": "1",
"l4d_revive_reload_interrupt_version": "1.0",
"l4d2_item_marker_instructorhint_icon": "icon_interact",
"l4d2_spot_marker_instructorhint_icon": "",
"l4d2_ammo_set_enabled_ammo_hotgunammo": "144",
"l4d2_item_marker_instructorhint_color": "0 255 255",
"l4d2_spot_marker_instructorhint_color": "200 200 200",
"l4d2_ammo_set_enabled_ammo_assaultammo": "720",
"l4d2_item_marker_instructorhint_enable": "1",
"l4d2_spot_marker_instructorhint_enable": "1",
"l4d2_item_hint_instructorhint_translate": "0",
"l4d2_infected_marker_instructorhint_icon": "",
"l4d2_survivor_marker_instructorhint_icon": "",
"l4d2_infected_marker_instructorhint_color": "255 0 0",
"l4d2_survivor_marker_instructorhint_color": "0 200 0",
"l4d2_ammo_set_enabled_ammo_Ammosets_switch": "1",
"l4d2_ammo_set_enabled_ammo_autoshotgunammo": "180",
"l4d2_ammo_set_enabled_ammo_sniperrifleammo": "360",
"l4d2_infected_marker_instructorhint_enable": "1",
"l4d2_survivor_marker_instructorhint_enable": "1",
"l4d2_ammo_set_enabled_ammo_huntingrifleammo": "300",
"l4d2_ammo_set_enabled_ammo_grenadelauncherammo": "60"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11903694");
$data = json_decode($json, true);
var_dump($data);