Skip to main content

Package with default calls for the SigningHub API

Project description

Description

SigningHub is a platform which is mainly used to sign documents with a digital or electronic signature. On SigningHub, documents, users and settings can be uploaded and managed through the web view, as well as through the API. This package focusses on the usage of said API through Python.

Signinghubapi package is the python integration of the SigningHub API. Most of the SigningHub API calls have been translated to python.

SigningHub API guide can be found here.

Both API v3 (SigningHub 7.7.9 and earlier) and API v4 (SigningHub 7.7.9 and above) have been integrated.

Dependencies

This Python package depends on the requests module:

Requests on PyPI

Requests on GitHub

Usage

Install this package with the command pip install signinghubapi.

This package can be used to create a Connection object which connects to SigningHub.

Required parameters are:

  • An URL;
  • An API connector client ID;
  • An API connector client secret.

Optional parameters are:

  • A username (email address) to authenticate with;
  • A password to authenticate with;
  • A scope to authenticate with;
  • An access token;
  • A refresh token;
  • An API version (3 or 4, depending on your SigningHub version);
  • An API port (if the API URL is not defined as a URL).

This object can execute the calls which are found in the API guide. These calls are translated to Python and the requests.Response object will be returned each time.

The validity of the provided URL can be tested with a about_signinghub() call. This call only requires the provided URL to work.

Example

>>> from signinghubapi.signinghubapi import Connection
>>> conn = Connection(url='https://api.signinghub.com/', client_id='testclientid', client_secret='testclientsecret', username='test@email.com', password='1234')
>>> about = conn.about_signinghub()
>>> about.status_code
200
>>> about.text
'{"installation_name":"SigningHub","version":"7.7.8.26","build":"778...'
>>> authentication = conn.authenticate()
>>> authentication.status_code
200
>>> authentication.text
'{"access_token":"LPAGaUoJ71Wi53vngCMty8i...'

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

signinghubapi-0.1.2.tar.gz (19.2 kB view details)

Uploaded Source

Built Distribution

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

signinghubapi-0.1.2-py3-none-any.whl (18.6 kB view details)

Uploaded Python 3

File details

Details for the file signinghubapi-0.1.2.tar.gz.

File metadata

  • Download URL: signinghubapi-0.1.2.tar.gz
  • Upload date:
  • Size: 19.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.6

File hashes

Hashes for signinghubapi-0.1.2.tar.gz
Algorithm Hash digest
SHA256 abcda3ff7e120cc97eebd05978ba2249f680aea99b116ed33a6a891537350650
MD5 a773b48d7ec41bcd2c5838e1962956e6
BLAKE2b-256 9606f6725acc6896b4cc68941bfe56c0140761c8b0fd51c14f43cbe127918407

See more details on using hashes here.

File details

Details for the file signinghubapi-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: signinghubapi-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 18.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.6

File hashes

Hashes for signinghubapi-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c65bfdb9b6ad19b4727ca68ed35a1949e5fc84a0d92ac0e8b0a7ed0aeb10124c
MD5 18ba739ed205e79a091a37960683d1cf
BLAKE2b-256 fac4b8c5aa39ef6ef4388fc176553702117cd7bda9ac6c785fa1c3d8828d3f25

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