Skip to content

v3.0.19

Compare
Choose a tag to compare
@kporangehat kporangehat released this 25 Mar 21:26
· 284 commits to master since this release

Session based authentication

Added a new way to instantiate API instances. You can now authenticate your Shotgun connection using a session token:

from shotgun_api3 import Shotgun
sg = Shotgun("https://hostname.shotgunstudio.com", session_token="xxxxxx")

A session token identifies a user and can be requested using the new get_session_token() method.

Refined exception types

Added a new AuthenticationFault exception type to more clearly indicate when server communication has failed due to authentication related reasons.

Easier access to proxy information

Improved the way proxy information can be extracted from the Shotgun API. You can now access the raw proxy string used to construct the API instance via the shotgun_obj.config.raw_proxy member variable.

Improved support for corporate or internal certificates

Added support for reading the SHOTGUN_API_CACERTS environment variable as a way of specifying the location of an external SSL certificates file. This is particularly useful for organizations that use an internal or corporate SSL certificate. It can now be defined as an environment variable instead of having to provide the ca_certs parameter each time you instantiate a Shotgun connection.