A Crystal wrapper for the Openweather API
Add this to your application's shard.yml
:
dependencies:
openweather:
github: lucasocon/openweather.cr
require "openweather"
Openweather::Client.new.get("london").sys.country
# => GB
Data available here: http://openweathermap.org/current#current_JSON
- Fork it ( https://github.com/[your-github-name]/openweather/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
- lucasocon Lucas Ocon - creator, maintainer