Sha256: 3862f404164ac03a7fb7abed75f9119c7749b40ee217d293f1e141643fa480b6

Contents?: true

Size: 281 Bytes

Versions: 6

Compression:

Stored size: 281 Bytes

Contents

require 'owmo'


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

weather = OWMO::Weather.new api_key

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

puts forecast16

Version data entries

6 entries across 6 versions & 1 rubygems

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