[Pkg-lxde-maintainers] Bug#918467: lxpanel: Weather plugin uses obsolete APIs, does not work.

Kelly Venechanos slasc.the.grey at gmail.com
Thu Jan 24 13:04:55 GMT 2019


Could it be an option to use OpenWeatherMap API?

They mention being “open” to lifting api limitations for FOSS developers:

"For FOSS developers: we welcome free <http://www.gnu.org/philosophy/free-sw.html> and open source <http://opensource.org/osd-annotated> software and are willing to help you. If you want to use OWM data in your free software application please register an API key <http://home.openweathermap.org/users/sign_in> and file a ticket describing your application and API key registered. <https://openweathermap.desk.com/customer/portal/emails/new> OWM will review your request lift access limits for your key if used in open source application.”

https://openweathermap.org/faq <https://openweathermap.org/faq>




On Wed, 9 Jan 2019 00:13:22 +0200 Andriy Grytsenko <andrej at rep.kiev.ua> wrote:
> Yes, Yahoo unfortunately ended free service at January 3.
> 
> New API requires registering the application and has unknown restrictions
> which probably will lead the weather plugin to DoS situation, because if
> developer registers API to get a key then that limitation will be applied
> to each user of that API so may be soon exceeded.
> 
> Abother issue that new Yahoo API requires digital signature for each
> request which in turn will involve libssl with all their restrictions.
> 
> Unfortunately all weather providers now made their API available via some
> kind of registration. We can force each user to register but that will be
> pretty inconvenient for users. Another approach is to register some token
> for LXDE developers public e-mail but if (for example) 500000 users will
> use the plugin and we set update time once in two hours, that will make
> 500000/120=4000 requests per minute, which exceeds number for any free
> subscription which definitely makes the plugin unusable at all, so this
> approach is not a way to go. Thus I have no idea what else to do except
> to remove the plugin from distribution.
> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-lxde-maintainers/attachments/20190124/82dd876d/attachment.html>


More information about the Pkg-lxde-maintainers mailing list