The Python client for Supergood
Project description
Python
The Supergood Python client connects Supergood to your Python application. Follow these steps to integrate with the Python client.
1. Install the Supergood library
pip install supergood
2. Initialize the Supergood Library
Environment variables
Set the environment variables SUPERGOOD_CLIENT_ID and SUPERGOOD_CLIENT_SECRET using the API keys generated in the getting started instructions.
Initialize the Supergood client at the root of your application, or anywhere you're making API calls.
from supergood import Client
Client.initialize()
Passing keys
You can also pass the API keys in manually without setting environment variables.
Replace <CLIENT_ID> and <CLIENT_SECRET> with the API keys you generated in the getting started instructions.
from supergood import Client
Client.initialize(client_id="<CLIENT_ID>", client_secret_id="<CLIENT_SECRET>")
Note: If your application makes use of the multiprocessing library to make API calls, you'll need to initialize a client for each Process.
3. Monitor your API calls
You're all set to use Supergood!
Head back to your dashboard to start monitoring your API calls and receiving reports.
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file supergood-2.1.2.tar.gz.
File metadata
- Download URL: supergood-2.1.2.tar.gz
- Upload date:
- Size: 17.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68a6c64202d23fc268812b1c118a95a8a324227c59b77d72bafd54cc70fe54cb
|
|
| MD5 |
c9e2b250b587ed40fb1e03b6036f4f81
|
|
| BLAKE2b-256 |
4a46b1b4b4042cb8a1ddba21e69c24cc28f32d4de306102c788f4c77cdec96d5
|
File details
Details for the file supergood-2.1.2-py3-none-any.whl.
File metadata
- Download URL: supergood-2.1.2-py3-none-any.whl
- Upload date:
- Size: 23.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3cf9d62ed7e3724e15785d436914eedcb2e881e73c77aeb40e1fdc8116c5bb1c
|
|
| MD5 |
f311e4056d86fa60e20af0cee186b03f
|
|
| BLAKE2b-256 |
028699db6ea7f6189e210f2c0f48c978064deb790b2dd170b3900cadd6a29226
|