Packages

This application provides the current weather data for the given geo coordinates (latitude/longitude) based on openweathermap.org v2.5.

Current section

Files

Jump to
elixir_weather_data lib elixir_weather_data.ex
Raw

lib/elixir_weather_data.ex

defmodule ElixirWeatherData do
use Application
def start(_type, args) do
ElixirWeatherData.GenServer.Supervisor.start_link(args)
end
def get do
ElixirWeatherData.GenServer.get
end
end