Skip to content
This repository was archived by the owner on Dec 6, 2019. It is now read-only.

Latest commit

 

History

History
46 lines (29 loc) · 1.19 KB

README.rst

File metadata and controls

46 lines (29 loc) · 1.19 KB

Overview

Python wrapper for the Toodledo v3 API which is documented at http://api.toodledo.com/3/

As of October 2019, I'm not using Toodledo anymore so there will be no more updates to this repository.

https://travis-ci.org/rkhwaja/toodledo-python.svg?branch=master

Usage

toodledo = Toodledo(
  clientId="YourClientId",
  clientSecret="YourClientSecret",
  tokenStorage=TokenStorageFile(YourConfigFile),
  scope="basic tasks notes folders write")

account = toodledo.GetAccount()

allTasks = toodledo.GetTasks(params={})

Running tests

To run the tests, set the following environment variables:

Then generate the credentials json file by running

python generate-credentials.py

Then run the tests by executing

pytest

in the root directory.