Question about the prescription of client ID&Secret

We have purchased planet data and need to use Python automated script to continuously update the image data of a certain area, but the documentation says:

Note: Access tokens expire after an hour. To fix this, just request a new access token.

It seems that we can’t automatically request a new access token using the python API. How can we solve this problem?

Hi @realleewq ,

You can refresh your token before you make a request. An example can be found in our documentation.

Or you can use sentinelhub-py and let the package handle the session for you.