Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

Close

RtmAPI

This is an API package for Remember the Milk. Using their API and this package you can create Python applications accessing your task lists on RTM.

See the example script (in the examples folder) for basic usage. You should have read the essential API docs on their website before.

RtmAPI details

It's important that you understand the example script to understand how to use RtmAPI. It shows desktop authorization and a basic list operation.

Authentication

See http://www.rememberthemilk.com/services/api/authentication.rtm.

User authentication for desktop applications can be done using the authenticate_desktop and retrieve_token methods, whereas web applications should use the authenticate_web and retrieve_token methods.

API call return values

If you call an API method, it returns the XML wrapped in special objects. Those object should make it easy to use the API:

Each object has a value property which returns the XML text. All other values return either the contents of the XML attribute with the same name if that exists, or an (again wrapped) child element with the name.

Some API methods return multiple child elements of the same kind, ie. XML children with the same tag. Those lists are handled in RtmAPI, ie. you can iterate over those child elements easily. The example script show the usage of rtm.tasks.getList. Compare the example script with the rtm.tasks.getList documentation to understand how lists work.

Contributors

  • Michael Gruenewald
  • Marcin Kasperski

Recent activity

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.