Add login to example

This commit is contained in:
Thomas Wade 2020-04-25 04:04:51 +09:30
parent 7e3584d5ee
commit c5d4677aab

View File

@ -22,6 +22,9 @@ if __name__ == '__main__':
# Get an API instance
api = FAAPI()
# Log in
api.login()
# Get the user we've authenticated as
user = api.get_user(api.username)
if not user: