Python authentication



My names Ben and this is the first time I’ve dealt with API calls so a little patience would make me feel very welcome :slight_smile:

I’m trying to build a script that will request the latest data for an application and save this data into a file. This script will sit on a virtual machine and be executed on a schedule. I have built the script and things are going well, where I’m struggling is with the authentication tokens/refresh tokens.

The idea of saving the data to a file might sound strange, but I’m working within the boundaries of another system we use.

While I have been developing the script, I used a token from a Postman session. This allowed me to bypass the authentication process while I get everything else sorted. I’ve tried to get my head around the simplest form of authentication, look for examples but I’ve come up blank.

If someone is able to help with a simple authentication process example it would be highly appreciated.