22cc81cbc5 | ||
---|---|---|
.. | ||
lang | ||
templates | ||
vendor | ||
composer.json | ||
curweather.css | ||
curweather.php | ||
README.md |
Current Weather
If activated by your user this addon adds a widget to the users network tab sidebar showing current weather informations from OpenWeatherMap. The user can configure the location as e.g. Berlin,DE or the zip code "14476,DE".
The language for the request at OpenWeatherMap is set to the UI language of friendica. If the string for the description of the current weather conditions is available in this language depends on OpenWeatherMap.
You should get an APPID from OpenWeatherMap if you want to use this widget. You can register here.
Credits
- Tony Baldvin wrote the original addon for Friendica
- Fabio Comuni
- Tobias Diekershoff switched the sources to OpenWeatherMap after the original provider turned off support for locations outside of the USA.
To access the API of OpenWeatherMap the library OpenWeatherMap-PHP-Api by Christian Flach is used (MIT license).