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.3.tar.gz (19.3 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.3-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: signinghubapi-0.1.3.tar.gz
  • Upload date:
  • Size: 19.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5

File hashes

Hashes for signinghubapi-0.1.3.tar.gz
Algorithm Hash digest
SHA256 1a4de73374b0ff0fa0b8a58fe7fdeb9a310aae3aa7db85ad5eaeaad9c7b71426
MD5 2e58534f872b785c8f345a696c8f0492
BLAKE2b-256 769dca75a469151dd9a6e093fdf45511408531c73848d149fb3c8cdf5b10a29b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: signinghubapi-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 18.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5

File hashes

Hashes for signinghubapi-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 96f9aec6d08752bbec6494859964c17f51ec97cd7f262a68afe9d77d98f80e36
MD5 6cf11ef39338496e233233d71c7476d6
BLAKE2b-256 8c6affcfbd8e8472bf2d405006a3877570aab4ddcbf02a3e46c2b370cec6e70f

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