# Trinsic API Python Library
![Version](https://img.shields.io/pypi/v/trinsic-api)
[![Build Status](https://github.com/trinsic-id/sdk/actions/workflows/api-python-release.yml/badge.svg)](https://github.com/trinsic-id/sdk/actions?query=branch%main)
The Trinsic API Python library provides convenient access to the Trinsic API from applications written in Python
## Documentation
See the [Trinsic docs](https://docs.trinsic.id/docs/) for more detailed information on how to start integrating with our identity acceptance network.
## Installation
Install the package with:
```sh
pip install trinsic-api
```
## Usage
The package needs to be configured with your app's access token, which is
available in the [Trinsic Dashboard](https://dashboard.trinsic.id).
```py
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"
api_client = ApiClient(configuration=None, header_name="Authorization", header_value=auth_token)
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](https://github.com/trinsic-id/sdk/tree/main/api-python/samples) folder.
## SDK Versioning
Our SDKs follow the [Semantic Versioning](https://semver.org) ("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](mailto:support@trinsic.id), or feel free to open a GitHub issue [here](https://github.com/trinsic-id/sdk/issues).
## More Information
- [API Reference](https://docs.trinsic.id/reference)
- [Developer Guide](https://docs.trinsic.id/docs/developer-tools)
- [Our Blog](https://trinsic.id/blog/)
- [Schedule a demo](https://trinsic.id/contact/)
Raw data
{
"_id": null,
"home_page": "https://trinsic.id",
"name": "Trinsic-Api",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "Trinsic, SDK, Identity verification",
"author": "trinsic-id",
"author_email": "support@trinsic.id",
"download_url": "https://files.pythonhosted.org/packages/31/bb/c7d36aab6d8d90549ac368f779d3cdfa116350e32c71da4db5806099cf39/Trinsic-Api-1.2.0.tar.gz",
"platform": null,
"description": "# Trinsic API Python Library\n\n![Version](https://img.shields.io/pypi/v/trinsic-api)\n[![Build Status](https://github.com/trinsic-id/sdk/actions/workflows/api-python-release.yml/badge.svg)](https://github.com/trinsic-id/sdk/actions?query=branch%main)\n\nThe Trinsic API Python library provides convenient access to the Trinsic API from applications written in Python\n\n## Documentation\n\nSee the [Trinsic docs](https://docs.trinsic.id/docs/) for more detailed information on how to start integrating with our identity acceptance network.\n\n## Installation\n\nInstall the package with:\n\n```sh\npip install trinsic-api\n```\n\n## Usage\n\nThe package needs to be configured with your app's access token, which is\navailable in the [Trinsic Dashboard](https://dashboard.trinsic.id).\n\n```py\nfrom trinsic_api.api_client import ApiClient\nfrom trinsic_api.api.attachments_api import AttachmentsApi\nfrom trinsic_api.api.network_api import NetworkApi\nfrom trinsic_api.api.sessions_api import SessionsApi\n\nauth_token = \"Bearer \" + \"your-access-token\"\napi_client = ApiClient(configuration=None, header_name=\"Authorization\", header_value=auth_token)\n\nattachments_api = AttachmentsApi(api_client)\nnetwork_api = NetworkApi(api_client)\nsessions_api = SessionsApi(api_client)\n```\n\nYou can find a full Python server example in the [samples](https://github.com/trinsic-id/sdk/tree/main/api-python/samples) folder.\n\n## SDK Versioning\n\nOur SDKs follow the [Semantic Versioning](https://semver.org) (\"SemVer\") scheme. \n\nFor example, the version number `1.13.0` has a major version of `1`, a minor version of `13`, and a patch version of `0`.\n\nBreaking changes are only introduced alongside a new major version.\n\n## Support\n\nAny issues, inquiries, and feature requests can be sent to [support@trinsic.id](mailto:support@trinsic.id), or feel free to open a GitHub issue [here](https://github.com/trinsic-id/sdk/issues).\n\n## More Information\n\n- [API Reference](https://docs.trinsic.id/reference)\n- [Developer Guide](https://docs.trinsic.id/docs/developer-tools)\n- [Our Blog](https://trinsic.id/blog/)\n- [Schedule a demo](https://trinsic.id/contact/)\n\n\n",
"bugtrack_url": null,
"license": null,
"summary": "Trinsic API",
"version": "1.2.0",
"project_urls": {
"Homepage": "https://trinsic.id"
},
"split_keywords": [
"trinsic",
" sdk",
" identity verification"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "75726f7bcdd3f5f21f5b287896dd974bc796d13facf1d6d72c35ad88c32a97d0",
"md5": "b43ba671811ed3da43061f3069d2c1e4",
"sha256": "3c4c896255f3b31a238bc0ba5f7c5d3fad476003041fa631a6e3f2f850e5637f"
},
"downloads": -1,
"filename": "Trinsic_Api-1.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b43ba671811ed3da43061f3069d2c1e4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 74328,
"upload_time": "2024-11-16T06:00:14",
"upload_time_iso_8601": "2024-11-16T06:00:14.209361Z",
"url": "https://files.pythonhosted.org/packages/75/72/6f7bcdd3f5f21f5b287896dd974bc796d13facf1d6d72c35ad88c32a97d0/Trinsic_Api-1.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "31bbc7d36aab6d8d90549ac368f779d3cdfa116350e32c71da4db5806099cf39",
"md5": "6954f285d74727b75415e2a4a2a225f3",
"sha256": "508e2789ad2a88849b9c32095446908a7f8fe8e475c0ef2d9f9b2172eca6b936"
},
"downloads": -1,
"filename": "Trinsic-Api-1.2.0.tar.gz",
"has_sig": false,
"md5_digest": "6954f285d74727b75415e2a4a2a225f3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 38729,
"upload_time": "2024-11-16T06:00:15",
"upload_time_iso_8601": "2024-11-16T06:00:15.821077Z",
"url": "https://files.pythonhosted.org/packages/31/bb/c7d36aab6d8d90549ac368f779d3cdfa116350e32c71da4db5806099cf39/Trinsic-Api-1.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-16 06:00:15",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "trinsic-api"
}