When using https://github.com/Dynatrace/dynatrace-api/blob/ma... (after adding the right url and token) got the follows error: "SSL certificate problem: unable to get local issuer certificate"
From the PyCurl error in your screenshot it seems the local CA bundle python is using on your system is outdated. If you try executing an API request from curl on the command line, does it work? I did a quick internet search for "pycurl error 60" and the first few results point to using
curl.setopt(pycurl.CAINFO,...) to set the path to an updated system CA bundle. You would add this right before line 24,
c.perform(). Alternatively, it looks like you can utilize the python package certifi for an updated bundle local to python. Please reach back out if that doesn't work for you.