Skip to content

lucasocon/openweather.cr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Openweather.cr

A Crystal wrapper for the Openweather API

Installation

Add this to your application's shard.yml:

dependencies:
  openweather:
    github: lucasocon/openweather.cr

Usage

require "openweather"

Get Weather

Openweather::Client.new.get("london").sys.country
# => GB

Data available here: http://openweathermap.org/current#current_JSON

Contributing

  1. Fork it ( https://github.com/[your-github-name]/openweather/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

About

A Crystal wrapper for the Openweather API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published