Sha256: 43eaf68bb430f3df637f3b39742a63495b65664214a39fa542b25cefdbcee2be

Contents?: true

Size: 278 Bytes

Versions: 6

Compression:

Stored size: 278 Bytes

Contents

require 'owmo'


=begin rdoc
An example on how to get the extended forcast and use the different parameters.
=end
api_key = ""

weather = OWMO::Weather.new api_key

# http://openweathermap.org/forecast5
forecast5 = weather.get :forecast5, city_name: "London,UK"

puts forecast5

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
owmo-2.0.1 examples/forecast5.rb
owmo-2.0.0 examples/forecast5.rb
owmo-1.2.0 examples/forecast5.rb
owmo-1.1.0 examples/forecast5.rb
owmo-1.0.1 examples/forecast5.rb
owmo-1.0.0 examples/forecast5.rb