Sha256: 932e4bb5efeea844f284f960712ac6f812942cfa418ba380fad99cccf67ec7de

Contents?: true

Size: 282 Bytes

Versions: 6

Compression:

Stored size: 282 Bytes

Contents

require 'owmo'

api_key = ""

weather = OWMO::Weather.new api_key

# Kelvin
puts weather.get :current, city_name: "London,UK"

# Imperial
puts weather.get :current, city_name: "London,UK", units: :imperial

# Metric
puts weather.get :current, city_name: "London,UK", units: :metric

Version data entries

6 entries across 6 versions & 1 rubygems

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