Skip to main content

Whoopi python SDK

Project description

whoopi-py

whoopi's python sdk

Usage

Installation

pip3 install whoopi

Import Lib

from whoopi import Whoopi

Initialize Client

whoopi = Whoopi(ptoken='<whoopi-app-token>')

Start tracking API Events

whoopi.logit(ukey="<unique-value>", method="<API HTTP VERB>", endpoint="<API ENDPOINT>", status="<RESPONSE CODE>")

Explantion

ukey

This is unique key value to track API call usage. It could be userId, event name or anything that trigger that API call.

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

whoopi-1.0.0.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

whoopi-1.0.0-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

Supported by

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