Skip to main content

Vouchsafe API docs

Project description

Vouchsafe-python

Vouchsafe offers a REST API to conduct operations programmatically.

You can request and manage verifications, as well as perform smart lookups.

To use the API, you need a client ID and secret from the Vouchsafe dashboard. Sign up here if you haven't already.

We also have a video guide showing the basics, as well as SDKs and libraries for popular languages.

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 0.1.0
  • Package version: 0.1.0
  • Generator version: 7.16.0
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit https://help.vouchsafe.id

Requirements.

Python 3.9+

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)

Then import the package:

import vouchsafe_python

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import vouchsafe_python

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import vouchsafe_python
from vouchsafe_python.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://app.vouchsafe.id/api/v1
# See configuration.py for a list of all supported configuration parameters.
configuration = vouchsafe_python.Configuration(
    host = "https://app.vouchsafe.id/api/v1"
)



# Enter a context with an instance of the API client
with vouchsafe_python.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = vouchsafe_python.AuthenticationApi(api_client)
    authenticate_input = vouchsafe_python.AuthenticateInput() # AuthenticateInput |

    try:
        api_response = api_instance.authenticate(authenticate_input)
        print("The response of AuthenticationApi->authenticate:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling AuthenticationApi->authenticate: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://app.vouchsafe.id/api/v1

Class Method HTTP request Description
AuthenticationApi authenticate POST /authenticate
FlowsApi get_flow GET /flows/{id}
FlowsApi list_flows GET /flows
SmartLookupsApi perform_smart_lookup POST /smart-lookups
SmartLookupsApi search_postcode GET /smart-lookups/postcode
TeamApi create_team POST /team
TeamApi get_team GET /team
VerificationsApi get_verification GET /verifications/{id}
VerificationsApi list_verifications GET /verifications
VerificationsApi request_verification POST /verifications

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

bearerAuth

  • Type: Bearer authentication (JWT)

Author

help@vouchsafe.id

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

vouchsafe_python-0.1.1.tar.gz (29.4 kB view details)

Uploaded Source

Built Distribution

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

vouchsafe_python-0.1.1-py3-none-any.whl (56.1 kB view details)

Uploaded Python 3

File details

Details for the file vouchsafe_python-0.1.1.tar.gz.

File metadata

  • Download URL: vouchsafe_python-0.1.1.tar.gz
  • Upload date:
  • Size: 29.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for vouchsafe_python-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a43b9cfe1f809403c09ae77af7b1558c2c802553b0dc93ec21f2d8d9df6b490f
MD5 3ec67bbde24adf30ac60ea4bb3b8f3b6
BLAKE2b-256 40710a8d73ccc9bdc27de88280716014790677dbe40969da3985b036ccd7cb7e

See more details on using hashes here.

Provenance

The following attestation bundles were made for vouchsafe_python-0.1.1.tar.gz:

Publisher: pypi-release.yml on ARedaUni/vouchsafe-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vouchsafe_python-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for vouchsafe_python-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 97e55e20ad27aa33e0b8b06afc3e8db3ad96863e42c42149b0de7da2213abd87
MD5 4fb0665c0dc0aa1c0670e9050573e85d
BLAKE2b-256 cc5e186851d7378695556b36dc4239553a2f445fc824fcfefb7b59043bd7bde4

See more details on using hashes here.

Provenance

The following attestation bundles were made for vouchsafe_python-0.1.1-py3-none-any.whl:

Publisher: pypi-release.yml on ARedaUni/vouchsafe-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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