SDK for using the Idfy API in Python
Project description
Idfy Python SDK
A Python SDK for simple integration with the Idfy REST API.
Supports Python 3.5 and above. (3.5, 3.6, 3.7)
Using the async methods will make the program no longer run strictly single-threaded. The SDK is also able to make use of some of the features introduced to the asyncio module in Python 3.7, so running the code on that version or later will yield slight improvemets to efficiency and robustness when using async methods.
Installation
The package is available on PyPI. Use of Pipenv is recommended(https://pipenv.readthedocs.io).
pipenv install idfy-sdk-python
Documentation
Sample Usage
The example below shows how to get the details of a specific document.
# Import the SDK into your module
import idfy_sdk
# Set your credentials and desired scopes
idfy_sdk.IdfyConfiguration.set_client_credentials("Your client ID here", "Your client secret here", ["A list containing all your desired scopes (see documentation)"])
# Make a call to retrieve the document
service = idfy_sdk.services.SignatureService()
document_info = service.get_document(document_id)
print(document_info)
Support
- Open an issue to report bugs or submit feature requests.
- For other support requests, visit our support page or contact us at support@idfy.io.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
idfy_sdk-1.0.0b5.tar.gz
(200.0 kB
view hashes)