Skip to main content

# todoist-python - The official Todoist Python API library

## How to get started

Requirements:

Clone the repo:

$ git clone git@github.com:Doist/todoist-python.git

Create an environment:

$ virtualenv –system-site-packages -p /usr/bin/python2.7 Env

Activate the environment:

$ source Env/bin/activate

Install the library along with all the dependencies (so far we depend on awesome requests only):

$ pip install -e .

If you want to build the documentation as well, install some extra packages:

$ pip install -r doc/requirements.txt

Build the documentation:

$ (cd doc ; make html)

Read the built documentation by opening:

doc/_build/html/index.html

Import the library and try some commands:

`python $ python >>> import todoist >>> api = todoist.TodoistAPI() >>> user = api.login('john.doe@gmail.com', 'secret') >>> print(user['full_name']) John Doe >>> response = api.sync(resource_types=['all']) >>> for project in response['Projects']: ... print(project['name']) ... Personal Shopping Work Errands Movies to watch `

## Testing the library

We have a set of tests to ensure we support Python both 2.x and 3.x. To test it out, please make sure you have python 2.7 and python 3.4 installed in you system. Then install “tox” either globally (preferred way) or in your local environment.

# apt-get install python-tox

or

$ pip install tox

Then just type

$ tox

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

todoist-python-0.2.25.tar.gz (18.3 kB view details)

Uploaded Source

File details

Details for the file todoist-python-0.2.25.tar.gz.

File metadata

File hashes

Hashes for todoist-python-0.2.25.tar.gz
Algorithm Hash digest
SHA256 6441abe7d6935c295fce74dbf0fb458e0bf7b71dfc90bf63ba38580df4b1d486
MD5 a31c2b34b5f2ff838589d3cb9588cef0
BLAKE2b-256 59d4a8b79e1cbf1ff4b5eb870522959d48e563b688083c002ffe7ff717c46cb9

See more details on using hashes here.

Release history Release notifications | RSS feed

8.1.4

2 files

8.1.3

2 files

8.1.2

1 file

8.1.1

2 files

8.1.0

2 files

8.0.2

1 file

8.0.1

1 file

8.0.0

2 files

7.0.19

1 file

7.0.18

1 file

7.0.17

2 files

7.0.16

1 file

7.0.15

1 file

7.0.14

1 file

7.0.13

1 file

7.0.12

1 file

7.0.11

1 file

7.0.10

1 file

7.0.9

1 file

7.0.8

1 file

7.0.7

1 file

7.0.6

1 file

7.0.5

1 file

7.0.4

1 file

7.0.3

1 file

7.0.2

1 file

7.0.1

1 file

7.0

1 file

0.2.26

1 file

This release

0.2.25 This release

1 file

0.2.24

1 file

0.2.23

1 file

0.2.22

1 file

0.2.21

1 file

0.2.20

1 file

0.2.19

1 file

0.2.18

1 file

0.2.17

2 files

0.2.16

1 file

0.2.15

1 file

0.2.14

1 file

0.2.13

1 file

0.2.12

1 file

0.2.11

1 file

0.2.10

1 file

0.2.9

1 file

0.2.8

1 file

0.2.7

1 file

0.2.6

1 file

0.2.5

1 file

0.2.4

1 file

0.2.3

1 file

0.2.2

1 file

0.2.1

1 file

0.2

1 file

0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page