Drupal module showing weather data from OpeanWeatherMap
- Copy it content into modules dir of Drupal
- Replace {appid} in src/WeatherController.php and src/Plugin/Block/WeatherBlock.php with your appid
- Add module settings where user can set:
- appid (insted of changing it in WeatherController.php)
- place (now module shows weather for Warsaw)
- Make english default language (replace content in Polish with English, then add location for Polish)
- Translate it to other languages
- Add weather block