Logo

0x5a.live

for different kinds of informations and explorations.

GitHub - r-icarus/forecast_io: Simple wrapper for Forecast.IO API

Simple wrapper for Forecast.IO API. Contribute to r-icarus/forecast_io development by creating an account on GitHub.

Visit SiteGitHub - r-icarus/forecast_io: Simple wrapper for Forecast.IO API

GitHub - r-icarus/forecast_io: Simple wrapper for Forecast.IO API

Simple wrapper for Forecast.IO API. Contribute to r-icarus/forecast_io development by creating an account on GitHub.

Powered by 0x5a.live ๐Ÿ’—

ForecastIO

Simple wrapper for Forecast.IO

Usage

export FORECAST_IO_KEY=yourkey

##Include forecast_io

defp deps do
  [
    {:forecast_io, "~> 0.2.2"},
  ]
end

#Start and use

ForecastIO.start()
{:ok, result } = ForecastIO.forecast("28.6353","-106.0889")
current = ForecastIO.current(result)

#Use ForecastIO Time API

{mega, secs, _ } = :os.timestamp
now = mega * 1000000 + secs
ForecastIO.start()
{:ok, result } = ForecastIO.forecast_time("28.6353","-106.0889", now)
current = ForecastIO.current(result)

Elixir Resources

are all listed below.

Resources

listed to get explored on!!

Made with โค๏ธ

to provide different kinds of informations and resources.