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
- ApiErrorResponse
- AuthenticateInput
- AuthenticateResponse
- CheckResult
- CheckState
- CreateTeamInput
- CreateTeamResponse
- CreateTeamResponseCredentials
- Flow
- FlowTemplate
- GetSmartLookupResponse
- Model36EnumsBackgroundCheck
- Model36EnumsEnvironment
- PostcodeResponse
- Reason
- RecordAddressVerificationChecksCheckResult
- Report
- RequestVerificationInput
- RequestVerificationResponse
- SmartLookupInput
- Status
- Team
- Verification
Documentation For Authorization
Authentication schemes defined for the API:
bearerAuth
- Type: Bearer authentication (JWT)
Author
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a43b9cfe1f809403c09ae77af7b1558c2c802553b0dc93ec21f2d8d9df6b490f
|
|
| MD5 |
3ec67bbde24adf30ac60ea4bb3b8f3b6
|
|
| BLAKE2b-256 |
40710a8d73ccc9bdc27de88280716014790677dbe40969da3985b036ccd7cb7e
|
Provenance
The following attestation bundles were made for vouchsafe_python-0.1.1.tar.gz:
Publisher:
pypi-release.yml on ARedaUni/vouchsafe-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vouchsafe_python-0.1.1.tar.gz -
Subject digest:
a43b9cfe1f809403c09ae77af7b1558c2c802553b0dc93ec21f2d8d9df6b490f - Sigstore transparency entry: 649825973
- Sigstore integration time:
-
Permalink:
ARedaUni/vouchsafe-python@8def31c68359034705fb3ac058659de440d82727 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/ARedaUni
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-release.yml@8def31c68359034705fb3ac058659de440d82727 -
Trigger Event:
push
-
Statement type:
File details
Details for the file vouchsafe_python-0.1.1-py3-none-any.whl.
File metadata
- Download URL: vouchsafe_python-0.1.1-py3-none-any.whl
- Upload date:
- Size: 56.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97e55e20ad27aa33e0b8b06afc3e8db3ad96863e42c42149b0de7da2213abd87
|
|
| MD5 |
4fb0665c0dc0aa1c0670e9050573e85d
|
|
| BLAKE2b-256 |
cc5e186851d7378695556b36dc4239553a2f445fc824fcfefb7b59043bd7bde4
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vouchsafe_python-0.1.1-py3-none-any.whl -
Subject digest:
97e55e20ad27aa33e0b8b06afc3e8db3ad96863e42c42149b0de7da2213abd87 - Sigstore transparency entry: 649826030
- Sigstore integration time:
-
Permalink:
ARedaUni/vouchsafe-python@8def31c68359034705fb3ac058659de440d82727 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/ARedaUni
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-release.yml@8def31c68359034705fb3ac058659de440d82727 -
Trigger Event:
push
-
Statement type: