Skip to content

ghn/swissforecast

Repository files navigation

#swissforecast

Gem Version Build Status

Ruby client for the Swiss weather forecast API

##Installation

gem install swissforecast

##Usage

To talk to the API, get a client:

require 'swissforecast'
client = Swissforecast::Client.new

See below how to use this client.

###Find by city

client.find_by city: 'Lausanne'

###Find by position

client.find_by lat: '46.58', lng: '6.60'

Development

Running the tests

rake test

License

MIT License (MIT)

Thanks to Prevision meteo for opening their data

About

Ruby client for the Swiss weather forecast API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages