org-wunderlist
offers
- Fetch Wunderlist task
- Post/edit org element
- Edit task order on Org-mode side.
- Download files from Wunderlist server side.
- Go to My Apps page
- Click on
CREATE APP
- Put any URL on
App Url
andAuth Callback URL
. - Click on
SAVE
- Record the Client ID and Client secret for setup.
In order to access wunderlist from emacs, you need to authorize the client and generate an OAuth token.
- Point your browser to https://www.wunderlist.com/oauth/authorize?client_id=APP_CLIENT_ID&redirect_uri=http://localhost/nonexisting_url&state=irrelevant (replace APP_CLIENT_ID with your own value)
- The browser will log you into your wunderlist account, where you have to authorize the request.
- After authorization, you will be redirected with a “code” parameter in the querystring. Use this value to replace the CODE value in the next curl request. All values written in CAPS should be replaced with your own values
curl -H "Content-Type: application/json" -X POST -d '{"client_id":"APP_CLIENT_ID","client_secret":"APP_CLIENT_SECRET","code":"CODE"}' https://www.wunderlist.com/oauth/access_token
- The response from the curl request is a JSON “access_token” value. This token is your OAuth token, to insert as the
org-wunderlist-token
value in your emacs settings
NB: These steps are generally explained in the Wunderlist API documentation
(require 'org-wunderlist)
(setq org-wunderlist-client-id "your-client-id"
org-wunderlist-token "your-token"
org-wunderlist-file "~/.emacs.d/Wunderlist.org"
org-wunderlist-dir "~/.emacs.d/org-wunderlist/")
Fetch Wunderlist tasks and populate org-wunderlist-dir
locations.
Post/edit org block at point to Wunderlist.
Post/edit all tasks to Wunderlist. (this command is unstable)
Edit task order on Org-mode side.
App Url Auth Callback URL