smartweather
89 sites
No security coverage
SmartWeather is a smart module which provides current weather details and forecast upto 7 days. Display of forecast is optional.
The module is smart enough to detect website visitor location and get the weather details from OpenWeatherMap.org.
Features
- Get current weather details on the basis of website visitor location.
- Display weather forecast upto 7 days. This is optional.
- Display weather on basis of fixed latitude and longitude of area/location of your choice, incase you do not want the module to detect visitor location.
- Display weather in Celsius or Fahrenheit.
- Includes relevant CSS classes and id's to customize the design per your website.
How it works
- The module basically automatically detects the visitor IP address and get the location details. On the basis of location detected the module then gets the weather details from OpenWeatherMap.org.
- You can also configure the module to get data for specific location by specifying the latitude and longitude through SmartWeather settings form in case you do not want the module to display website visitor specific weather details.
- The location details are fetched from GeoPlugin.com, which offers 120 requests per minute for free. If your website visitors are close to 120 request per minute then you can choose to opt for geoplugin.com premium plan. Please refer to FAQ- https://www.geoplugin.com/faq
- GeoPlugin.com includes GeoLite data created by MaxMind, available from http://www.maxmind.com.
-
Weather data is fetched from https://openweathermap.org/ with a limitation of 60 calls/minute and a total of 1,000,000 calls/month. If your website visitors are more than the above mentioned limit then you may need to buy a premium subscription.
Please refer to pricing at- https://openweathermap.org/price - The weather data is cached in Drupal for specific time so that the module does not hit the GeoPlugin API and OpenWeatherMap API at every request.
REQUIREMENTS
OpenWeatherMap.org- need to create a free API key by registering at OpenWeatherMap.org.
CONFIGURATION
Configure the SmartWeather at (/admin/config/smartweather/settings).
MAINTAINERS
Current maintainer:
Gaurav Kumar - https://www.drupal.org/u/gauravkumar