Skip to content

Commit

Permalink
Merge pull request #17 from msmeeks/api-usage-readme
Browse files Browse the repository at this point in the history
Add example Api usage to the README
  • Loading branch information
snjoetw authored Jul 12, 2019
2 parents 67279d0 + 5f10723 commit 1ea9cc2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,6 @@ validation_result = authenticator.validate_verification_code(123456)
# If ValidationResult is VALIDATED, then you'll need to call authenticate() again to finish authentication process
authentication = authenticator.authenticate()

# Once you have authenticated and validated you can use the access token to make API calls
locks = api.get_locks(authentication.access_token)

0 comments on commit 1ea9cc2

Please sign in to comment.