Openweathermap

Component ID

2302627

Component name

Openweathermap

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This module uses the vast, freely available weather data on http://openweathermap.org.

Currently in its infancy, its functionality currently includes configurable locations, a default location and it creates a block for viewing current and next-day forecast for a given location.

End users can update their location preference which is saved in local storage (not as a cookie.)

Basic usage;

  • Install module and enable
  • Go to config page (/admin/config/services/openweathermap)
  • Add your locations as a pipe-separated list. "label|suburb,state,country" - see http://openweathermap.org/forecast#one for the search docs. Note, the module doesn't support Geo or IP lookups at this time.
  • Put the label of your default location in the default field.
  • Other fields can be left as default.
  • Locate the openweather block and put it in a region or a pane.
  • Users can now change and save their location

Note; modal uses Bootstrap classes and functionality. Bootstrap is not a dependancy of the module because it would be easy to use any modal js.