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

Metadata

Release files for todoist-python 0.2.22

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for todoist-python 0.2.22
File Size Uploaded
todoist-python-0.2.22.tar.gz 18.9 kB Details

Release files / todoist-python-0.2.22.tar.gz

Download URL todoist-python-0.2.22.tar.gz
Size 18.9 kB
Tags Source
SHA-256 checksum
How to use checksums
1172e233266daa11cb1a2e0525a4c89654c0a50510ba2e5260f1cd9bd6572c40
BLAKE2b-256 checksum
How to use checksums
12b858ee96eaabffb0e548c74c111b7d7ed369878db40dc5bfce238dfb773a80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

8.1.4

2 release files

8.1.3

2 release files

8.1.2

1 release file

8.1.1

2 release files

8.1.0

2 release files

8.0.2

1 release file

8.0.1

1 release file

8.0.0

2 release files

7.0.19

1 release file

7.0.18

1 release file

7.0.17

2 release files

7.0.16

1 release file

7.0.15

1 release file

7.0.14

1 release file

7.0.13

1 release file

7.0.12

1 release file

7.0.11

1 release file

7.0.10

1 release file

7.0.9

1 release file

7.0.8

1 release file

7.0.7

1 release file

7.0.6

1 release file

7.0.5

1 release file

7.0.4

1 release file

7.0.3

1 release file

7.0.2

1 release file

7.0.1

1 release file

7.0

1 release file

0.2.26

1 release file

0.2.25

1 release file

0.2.24

1 release file

0.2.23

1 release file

This release

0.2.22 This release

1 release file

0.2.21

1 release file

0.2.20

1 release file

0.2.19

1 release file

0.2.18

1 release file

0.2.17

2 release files

0.2.16

1 release file

0.2.15

1 release file

0.2.14

1 release file

0.2.13

1 release file

0.2.12

1 release file

0.2.11

1 release file

0.2.10

1 release file

0.2.9

1 release file

0.2.8

1 release file

0.2.7

1 release file

0.2.6

1 release file

0.2.5

1 release file

0.2.4

1 release file

0.2.3

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2

1 release file

0.1

1 release 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