Doist / todoist-python

DEPRECATED The official Todoist Python API library
MIT License
533 stars 73 forks source link

README example is potentially misleading #47

Closed ErikBoesen closed 6 years ago

ErikBoesen commented 6 years ago

The README suggests passing no parameters to the TodoistAPI constructor, and then using TodoistAPI.user.login() to sign in the user. It seems from my experimentation that a simpler signin solution is to simply pass the Todoist token to the TodoistAPI constructor. Am I correct in this assumption?

If so I'm definitely happy to modify the README myself, so you guys don't have to bother.

Thanks either way for creating a great API wrapper for a great app!

PaulHalliday commented 6 years ago

Erik,

Thanks for your feedback. I've changed this to use the todoist.TodoistAPI('api-token') syntax. 👍