forecastr v0.2.5 Forecastr.Renderer.ASCII

ASCII renderer Render weather ASCII art

Link to this section Summary

Link to this section Types

Link to this type

output_type()
output_type() :: :ansi | :png | :ascii | :html

Link to this type

weather()
weather() :: map()

Link to this section 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)

Link to this function

ascii_for(atom, output_type)
ascii_for(atom(), atom()) :: String.t()

Link to this function

get_weather_codes_for_backend(arg1)

Link to this function

render(weather, output_type \\ :ascii)
render(weather(), output_type()) :: list()

Render five days weather condition

Link to this function

table(data, arg2)