Python (for CLI)
How it works
Installation
pip install cotterUsage
Step 1: Copy cotter_login_success.html from the example folder.
cotter_login_success.html from the example folder.Step 2: Call Cotter's login function
Available methods:
Using Email
Using Phone Number
Storing the tokens
Store the tokens to a file:
Get the tokens from a file (automatically refresh if needed):
Refreshing tokens (if not using the functions above)
Validating tokens
Troubleshooting
Allowed Origin Error
Last updated