Skip to main content

Easy SuiteSpot authentication.

Project description

SuiteSpot Auth

Introduction

This package is a light wrapper for the SuiteSpot authentication API to provide easy generation of an access token to be used in SuiteSpot data API calls.

Disclaimer: This package is unofficial and is not affiliated with SuiteSpot. The official SuiteSpot authentication API docs can be found at: https://auth.suitespot.io/api#/.

Suitespot data API requests require Bearer Authorization including an access token. This package provides an abstraction layer to easily generate an access token.

Installation

$ pip install suitespotauth

Usage

  1. Set your SuiteSpot credentials (username and password)
$ suitespotauth-configure
  1. In your Python program, import the authenticator class
from suitespotauth import SuiteSpotAuth
  1. Create a class instance
# Optionally, provide a name string variable to the instantiation. This is stored in the SuiteSpot API token object.
auth = SuiteSpotAuth()
  1. Use the access_token attribute in your data API request header
"Authorization": f"Bearer {auth.access_token}"

Official SuiteSpot data API docs should be retrieved directly from your SuiteSpot representative.

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

suitespotauth-0.1.0.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

suitespotauth-0.1.0-py3-none-any.whl (4.9 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