Skip to main content

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()

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(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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

supergood-1.1.10.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

supergood-1.1.10-py3-none-any.whl (22.3 kB view details)

Uploaded Python 3

File details

Details for the file supergood-1.1.10.tar.gz.

File metadata

  • Download URL: supergood-1.1.10.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.0

File hashes

Hashes for supergood-1.1.10.tar.gz
Algorithm Hash digest
SHA256 3b3b1c42b17fce6209cbb37cd7a2f858525e42383c408d6392eb64dfdef38caf
MD5 d9ea7904a040c736880bda1ec36404d6
BLAKE2b-256 5adcf6cc5dd4a6fa3f628e4b8bee4157fd9f1d797569e8f12ba4e3c6ccf1743c

See more details on using hashes here.

File details

Details for the file supergood-1.1.10-py3-none-any.whl.

File metadata

  • Download URL: supergood-1.1.10-py3-none-any.whl
  • Upload date:
  • Size: 22.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.0

File hashes

Hashes for supergood-1.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 a7068281e2f9a54def02960dffd13844df954af27ec6354134b9c1841a8987db
MD5 ceac694c94309975e03b03798938409f
BLAKE2b-256 13d2a871fe5bfa14f09ae155673b2f613d1ae900d7be7b00b6951ed70a222072

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page