-
Create a
credentials.jsonfile. -
Copy and paste the following code into the created file:
JSON {"username": "<your-email-address>","password": "<your-password>"}JSON {"username": "<your-email-address>","password": "<your-password>","region": "sa"} -
Retrieve the email address and passwordemail address and password used for logging into the console. Use them as values in the following arguments:
- Set the value of
usernameto your email address. - Set the value of
passwordto your password.
- Set the value of
-
Authenticate from the created
credentials.jsonfile:Python import up42up42.authenticate(cfg_file="credentials.json")
-
Copy and paste the following code:
Python import up42up42.authenticate(username="<your-email-address>",password="<your-password>",)Python import up42up42.authenticate(username="<your-email-address>",password="<your-password>",region="sa",) -
Retrieve the email address and passwordemail address and password used for logging into the console. Use them as values in the following arguments:
- Set the value of
usernameto your email address. - Set the value of
passwordto your password.
- Set the value of