/locomotive_weather

Locomotive Liquid tag for getting the weather from Wunderground

Primary LanguageRubyMIT LicenseMIT

LocomotiveWeather

Adds a new Liquid Tag "weather" for Locomotive CMS. To use this gem you need a wunderground API Key

Installation

Add this line to your application's Gemfile:

gem 'locomotive_weather'

And then execute:

$ bundle

Or install it yourself as:

$ gem install locomotive_weather

Usage

{% weather 'Timisoara', api_key: "123123123123" %}

ToDo

Add some tests

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request