Skip to main content

SDK for using the Idfy API in Python

Project description

Idfy Python SDK

Build Status

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 yeald 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

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

idfy_sdk-1.0.0b3.tar.gz (200.1 kB view details)

Uploaded Source

File details

Details for the file idfy_sdk-1.0.0b3.tar.gz.

File metadata

  • Download URL: idfy_sdk-1.0.0b3.tar.gz
  • Upload date:
  • Size: 200.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

File hashes

Hashes for idfy_sdk-1.0.0b3.tar.gz
Algorithm Hash digest
SHA256 22ed789e37cede66f554ddfaa831c2491be9c676db8c46888d188ed737c67847
MD5 a60a4ce9f9b8067742aed0949c50229b
BLAKE2b-256 67064b755f0827072504dd039fbdfef30fdccd012bdd6598d6f08848ff961ba3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page