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.3.0a1.tar.gz (86.3 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.3.0a1-py3-none-any.whl (183.1 kB view details)

Uploaded Python 3

File details

Details for the file trinsic_api-2.3.0a1.tar.gz.

File metadata

  • Download URL: trinsic_api-2.3.0a1.tar.gz
  • Upload date:
  • Size: 86.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for trinsic_api-2.3.0a1.tar.gz
Algorithm Hash digest
SHA256 e7c2fb45ca2dec816a46e5085434f119454f0b432e706864638b0df4a4f5ed15
MD5 6f1d1960c3ad1e20f78a66ef5551aaac
BLAKE2b-256 4b38d4e6b7ba14d5f17c5ffcd30d7ab757fa41b110ac09aae2503ed1f1356d1f

See more details on using hashes here.

File details

Details for the file trinsic_api-2.3.0a1-py3-none-any.whl.

File metadata

  • Download URL: trinsic_api-2.3.0a1-py3-none-any.whl
  • Upload date:
  • Size: 183.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for trinsic_api-2.3.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 a0ffa3317c4cea381527033709a02c289631a8a431ea247813c0b184b9f40f99
MD5 31cfeb70e0faf3722ff217b64250d853
BLAKE2b-256 b65032229132d61cb6c626b4b040850a9ac5e8e67b63d113f86946911a50763f

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