forecastr v0.1.8 Forecastr.Renderer.ASCII

ASCII renderer Render weather ASCII art from the response of Forecastr.OWM

Link to this section Summary

Link to this section Types

Link to this type output_type()
output_type() :: :ansi | :png
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 render(weather, output_type \\ :ascii)
render(weather(), output_type()) :: :ok | list()

Render five days weather condition

Link to this function table(data, arg2)