Sha256: 9e0d6f216ef03c75dd2c1f78f441934b36b5bc6f5d94e8fd160a17822acc8ef9
Contents?: true
Size: 372 Bytes
Versions: 6
Compression:
Stored size: 372 Bytes
Contents
# frozen_string_literal: true 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