Sha256: 0d9fb56fb094c8827afc1774697fc5f37b8220de79819de942e3f960aa9a57cb
Contents?: true
Size: 341 Bytes
Versions: 6
Compression:
Stored size: 341 Bytes
Contents
require 'owmo' api_key = "" weather = OWMO::Weather.new api_key query = { city_name: "London,UK", # Geolocation, required mode: 'json', # Return data [json (defaul), xml, html] units: 'imperial', # [imperial, metric, or blank (Default, Kelvin)] lang: 'fr' # Language support } current = weather.get :current, query puts current
Version data entries
6 entries across 6 versions & 1 rubygems