Forecastr.Renderer.ASCII (forecastr v0.3.0)
ASCII renderer Render weather ASCII art
Summary
Types
Link to this type
output_type()
@type output_type() :: :ansi | :png | :ascii | :html
Link to this type
weather()
@type weather() :: map()
Functions
Link to this function
append_reset_colours(ascii_list, output_type)
Link to this function
append_weather_info(ascii_art_list, ascii_list, description, temperature, temp_max, temp_min, units)
Link to this function
ascii_for(atom, output_type)
Link to this function
get_weather_codes_for_backend(_)
Link to this function
render(weather, output_type \\ :ascii, units)
@spec render(weather(), output_type(), units :: atom()) :: list()
Render today weather condition or five days weather condition
Link to this function