
Weather
- Moodle 3.4–3.10
- 更新 2020-12-25
Weather is a Moodle block to show the realtime weather of the user using the geolocation.
Weather is a Moodle block to show the weather of the user using the geolocation.
This shows the realtime weather of the user by getting the geolocation from their browser.
Weather information requires a weather provider to be used,
that’s why this plugin currently supports three different weather information provider:
1. OpenWeather ( https://openweathermap.org )
2. AccuWeather ( https://www.accuweather.com )
3. Climacell ( https://www.climacell.co )
All these providers have free to premium subscriptions regarding the number of requests,
(which will depend on the number of users in the Moodle instance), just need to create an account,
get the API key and save that key in the settings of this plugin will start getting the weather information for the users.
A step by step instruction to configure each of these weather providers is given below.
User will be asked to allow location services while using this service,
it’s their choice to allow or block in order to use the weather block.
Step by step instructions to get the API key:
1. OpenWeather:
a. Go to the following URL: https://openweathermap.org
b. In the navigation, click Pricing.
c. Select the appropriate subscription for the organisation, you can choose from free to premium.
d. After selecting a subscription, it will go to create an account page. Create the account hare.
- 1.1.0Moodle 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10