Skip to main content

A Warranted helper library

Project description

warranted-python

A helper library for using the Warranted.io API.

Installation

pip install warranted

Test your installation

To make sure the installation was successful, try hitting the /api/v1/me API, like this:

import os
from warranted import Client

# Get your Account Id and Auth Token from https://app.warranted.io/settings/webhook
account_id = os.environ['WARRANTED_ACCOUNT_ID']
auth_token = os.environ['WARRANTED_AUTH_TOKEN']
warranted_client = Client(account_id, auth_token)

# Fetch and print the response object
response = warranted_client.me.get()
print(response)

Usage

Check out our docs for more details.

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

warranted-1.0.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

warranted-1.0.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file warranted-1.0.0.tar.gz.

File metadata

  • Download URL: warranted-1.0.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for warranted-1.0.0.tar.gz
Algorithm Hash digest
SHA256 65a74ba1a8bb5057e583222f42d1d9a68a3d92b86806835f75ffb34c29245b66
MD5 2733ad2a97ba008de70019656c6072a9
BLAKE2b-256 a7f344130bbbe6e08b50a6d19fca3dfd19f48ea403eb3d44741154c305bbcc68

See more details on using hashes here.

File details

Details for the file warranted-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: warranted-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for warranted-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 afca37f3f946f0f90d55f6a8c8305cfec33aece8bbd4fc7fbea913cd76081574
MD5 6250da4e8fb3f7def6ddd3df247f2ccb
BLAKE2b-256 c58d0cccfc1872ff089e914f85e3cfd6e2a702ef3b99f279a272efb675d634b4

See more details on using hashes here.

Supported by

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