Last active
January 31, 2020 18:58
-
-
Save amiryousefi/5240a4e9564fde74e8c5a77afb1a1ffa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
api_url = "https://beta.todoist.com/API/v8" | |
api_token = "" | |
requests.get( | |
"%s/tasks" % api_url, | |
headers={ | |
"Authorization": "Bearer %s" % api_token | |
}).json() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment