emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-weather Update to OpenWeather API.
@ 2015-10-12 12:53 Ian Barton
  0 siblings, 0 replies; only message in thread
From: Ian Barton @ 2015-10-12 12:53 UTC (permalink / raw)
  To: emacs-orgmode

In the past few days I have noticed that org-weather from
https://github.com/kautsig/org-weather was no longer working. It
appears that OpenWeather now requires you to get an API key. You can
get a free one by registering.

As a temporary horrible hack you can update org-weather-api-url in
org-weather.el to include your API key:

(defvar org-weather-api-url "http://api.openweathermap.org/data/2.5/forecast/daily?q=%s&mode=json&units=metric&cnt=7&&APPID=YourKeyGoesHere")

Obviously it would be better if this was a configurable variable,
probably read from your .emacs.
--
Best wishes,

Ian.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-10-12 12:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-12 12:53 org-weather Update to OpenWeather API Ian Barton

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).