Skip to content

joshrendek/scala-weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Code Climate

scala-weather

A simple scala library to interact with http://openweathermap.org

Reporting issues

Just open an issue on Github

Usage

  val weather = new CurrentWeather("Clearwater,FL")
  weather.longitude // => -82.7998
  weather.humidity // => 94
  weather.temperature.toFahrenheit // => 86 
  // There is also a .toCelsius method and the default data unit is Kelvin
  weather.wind.speed // => 13mps
  weather.wind.degrees // => 280
  // + more, see CurrentWeather.scala

Running tests

sbt test

Contributing / Editing

You can generate the IDEA configs for IntelliJ by running sbt idea-gen and then opening the project in IntelliJ

License

MIT License - See LICENSE for full text

scala-weather is Copyright (c) 2013 Josh Rendek. It is free software, and may be redistributed under the terms specified in the LICENSE file.

About

A scala client to interact with OpenWeatherMap APIs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages