Skip to content

Commit

Permalink
readme tuning
Browse files Browse the repository at this point in the history
  • Loading branch information
inbalboa committed Apr 28, 2024
1 parent 86ed296 commit e0fc11e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ client_secret = 'PLACE YOUR CLIENT SECRET'
auth_url = ToDoConnection.get_auth_url(client_id)
redirect_resp = input(f'Go here and authorize:\n{auth_url}\n\nPaste the full redirect URL below:\n')
token = ToDoConnection.get_token(client_id, client_secret, redirect_resp) # you have to save it somewhere
print(token)
todo_client = ToDoConnection(client_id=client_id, client_secret=client_secret, token=token)

lists = todo_client.get_lists()
Expand Down

0 comments on commit e0fc11e

Please sign in to comment.