Fortunately, there is an official Todoist Sync API, and even better, an official Todoist Python library to interact with it, called todoist-python. Both were developed by Doist and are publicly available. The Sync API documentation can be found here, and the todoist-python library documentation here. Add the Todoist Python Library. The good folks at Doist created a library that makes our job really easy. In order to add it click on requirements.txt and add a new line todoist-python. Write the Codes. Ok now we just need to write the code that will make your shiny new cloud function do cool stuff.
How to install todoist
- Download and install ActivePython
- Open Command Prompt
- Type
pypm install todoist
Python 2.7 | Python 3.2 | Python 3.3 | ||
---|---|---|---|---|
Windows (32-bit) |
| |||
Windows (64-bit) |
| |||
Mac OS X (10.5+) |
| |||
Linux (32-bit) |
| |||
Linux (64-bit) |
|
Links
Author
License
Python Todo Note
Imports
Lastest release
Python Todoist is a Python wrapper around the Todoist API. It provides a Pythoninterface for the Todoist API.
Installation
First of all, you need to setuptools to installation. Then, clone therepository from:
Enter the repository directory and run:
Testing
We're using nose for testing. In repository directory, run this command:
Usage
Python Todo List
Let's try to login and get profile information:
Python Today's Date
If you login successfully, you can see profile information in loginvariable:
Hmm, my name is not Gubba Gubba, i should change it, but how:
Perfect! To get project list, use get_projects():
I have two projects named 'example_project' and 'personal'. For moreinformation about Todoist API, you can see the official api documentation:http://todoist.com/API/help
License
Coded by Gökmen Görgen.Copyright (C) 2012, Todoist
This program is free software; you can redistribute it and/or modify itunder the terms of the GNU General Public License as published by the FreeSoftware Foundation; either version 3 of the License, or (at your option)any later version.