friendica-addons-sekb/curweather
2015-07-13 11:22:51 +02:00
..
lang had to remove the time for the last update again 2015-07-12 14:30:09 +02:00
templates template for the widget should an error occur 2015-07-13 11:22:51 +02:00
composer.json but keep the composer.json for reverence 2015-07-13 09:17:35 +02:00
curweather.css move widget HTML into smarty3 template and update styling 2015-07-13 07:05:55 +02:00
curweather.php template for the widget should an error occur 2015-07-13 11:22:51 +02:00
README.md minor additions to the README 2015-07-13 08:16:41 +02:00

Current Weather

If activated by your user this addon adds a widget to the users network tab sidebar showing current weather informations (temperature, relative humidity, wind conditions and preassure) 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, fallback is english.

You should get an APPID from OpenWeatherMap if you want to use this widget. You can register here.

Credits

  • Tony Baldwin 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).