In order to use the client, you’ll need to provide some authorization details.
Specifically, there are three pieces of information that are required:
This information can be provided in two ways:
- As arguments to the client when it's instantiated (see
- In a configuration file (see
The URL should point to wherever Fiddler has been deployed for your organization.
If using Fiddler’s managed cloud service, it should be of the form
To find your organization ID, navigate to the Settings page. Your organization ID will be immediately available on the General tab.
To find your authorization token, first navigate to the Settings page. Then click Credentials and Create Key.
Once you've located the URL, the org_id and the authorization token, you can connect the Fiddler client to your environment.
URL = 'https://app.fiddler.ai' ORG_ID = 'my_org' AUTH_TOKEN = '9AYWiqwxe2hnCAePxg-uEWJUDYRZIZKBSBpx0TvItnw' # not a valid token # Connect to the Fiddler client client = fdl.FiddlerApi( url=URL, org_id=ORG_ID, auth_token=AUTH_TOKEN )
If you would prefer not to send authorization details as arguments to
fdl.FiddlerApi, you can specify them in a configuration file called
The file should be located in the same directory as the script or notebook that initializes the
The syntax should follow the below example:
[FIDDLER] url = https://app.fiddler.ai org_id = my_org auth_token = xtu4g_lReHyEisNg23xJ8IEex0YZEZeeEbTwAsupT0U
Then you can initialize the
fdl.FiddlerApi object without any arguments, and Fiddler will automatically detect the
client = fdl.FiddlerApi()
Updated 3 months ago