Skip to main content

Trinsic API

Project description

Trinsic API Python Library

Version Build Status

The Trinsic API Python library provides convenient access to the Trinsic API from applications written in Python

Documentation

See the Trinsic docs for more detailed information on how to start integrating with our identity acceptance network.

Installation

Install the package with:

pip install trinsic-api

Usage

The package needs to be configured with your app's access token, which is available in the Trinsic Dashboard.

from trinsic_api.api_client import ApiClient
from trinsic_api.api.attachments_api import AttachmentsApi
from trinsic_api.api.network_api import NetworkApi
from trinsic_api.api.sessions_api import SessionsApi

auth_token = "Bearer " + "your-access-token"
configuration = Configuration.get_default()
# Set to true if you want debug request logging
configuration.debug = False
configuration.access_token = token

api_client = ApiClient(configuration=configuration)

attachments_api = AttachmentsApi(api_client)
network_api = NetworkApi(api_client)
sessions_api = SessionsApi(api_client)

You can find a full Python server example in the samples folder.

SDK Versioning

Our SDKs follow the Semantic Versioning ("SemVer") scheme.

For example, the version number 1.13.0 has a major version of 1, a minor version of 13, and a patch version of 0.

Breaking changes are only introduced alongside a new major version.

Support

Any issues, inquiries, and feature requests can be sent to support@trinsic.id, or feel free to open a GitHub issue here.

More Information

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

Trinsic-Api-2.0.2.tar.gz (61.0 kB view details)

Uploaded Source

Built Distribution

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

Trinsic_Api-2.0.2-py3-none-any.whl (125.9 kB view details)

Uploaded Python 3

File details

Details for the file Trinsic-Api-2.0.2.tar.gz.

File metadata

  • Download URL: Trinsic-Api-2.0.2.tar.gz
  • Upload date:
  • Size: 61.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for Trinsic-Api-2.0.2.tar.gz
Algorithm Hash digest
SHA256 10fd598402b592393e9d4f61c32909a7555eece8b4cf4dc90476f18057cfe102
MD5 4aea9d9440c2dd3bb895eded5701ef53
BLAKE2b-256 d2b11af9d8e3f38826be8c910ced7673d6b27fb2898111fab355ce2fa9517826

See more details on using hashes here.

File details

Details for the file Trinsic_Api-2.0.2-py3-none-any.whl.

File metadata

  • Download URL: Trinsic_Api-2.0.2-py3-none-any.whl
  • Upload date:
  • Size: 125.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for Trinsic_Api-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2106ef6d7687409e83e097508fa343053787517641f7af1b1785b593ccce2961
MD5 d7275daff551817f221327d59c3b69b1
BLAKE2b-256 ef038fde4243244fd2c15992ed8ac0588311e0a2225544838e46c22be1966505

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