Verification API
Project description
passbase
This Python package is automatically generated by the Swagger Codegen project:
- API version: 1.0.0
- Package version: 1.1.0
- Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen
Requirements.
Python 2.7 and 3.4+
Installation & Usage
pip install
If the python package is hosted on Github, you can install directly from Github
pip install git+https://github.com/passbase/passbase-python.git
(you may need to run pip with root permission: sudo pip install git+https://github.com/passbase/passbase-python.git)
Then import the package:
import passbase
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 passbase
Getting Started
Please follow the installation procedure and then run the following:
from __future__ import print_function
import time
import passbase
from passbase.rest import ApiException
from pprint import pprint
# Configure API key authorization: SecretApiKey
configuration = passbase.Configuration()
configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-API-KEY'] = 'Bearer'
# create an instance of the API class
api_instance = passbase.IdentityApi(passbase.ApiClient(configuration))
id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # str | Unique ID of the identity to return
try:
# Get identity
api_response = api_instance.get_identity_by_id(id)
pprint(api_response)
except ApiException as e:
print("Exception when calling IdentityApi->get_identity_by_id: %s\n" % e)
# Configure API key authorization: SecretApiKey
configuration = passbase.Configuration()
configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-API-KEY'] = 'Bearer'
# create an instance of the API class
api_instance = passbase.IdentityApi(passbase.ApiClient(configuration))
id = 'id_example' # str | Identity id
resource_id = 'resource_id_example' # str | Resource id
try:
# Get resource
api_response = api_instance.get_identity_resource_by_id(id, resource_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling IdentityApi->get_identity_resource_by_id: %s\n" % e)
# Configure API key authorization: SecretApiKey
configuration = passbase.Configuration()
configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-API-KEY'] = 'Bearer'
# create an instance of the API class
api_instance = passbase.IdentityApi(passbase.ApiClient(configuration))
limit = 56 # int | (optional)
cursor = 'cursor_example' # str | (optional)
try:
# List identities
api_response = api_instance.list_identities(limit=limit, cursor=cursor)
pprint(api_response)
except ApiException as e:
print("Exception when calling IdentityApi->list_identities: %s\n" % e)
# Configure API key authorization: SecretApiKey
configuration = passbase.Configuration()
configuration.api_key['X-API-KEY'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-API-KEY'] = 'Bearer'
# create an instance of the API class
api_instance = passbase.IdentityApi(passbase.ApiClient(configuration))
id = 'id_example' # str | Identity id
limit = 56 # int | (optional)
cursor = 'cursor_example' # str | (optional)
try:
# List resources
api_response = api_instance.list_identity_resources(id, limit=limit, cursor=cursor)
pprint(api_response)
except ApiException as e:
print("Exception when calling IdentityApi->list_identity_resources: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to https://api.passbase.com/verification/v1
| Class | Method | HTTP request | Description |
|---|---|---|---|
| IdentityApi | get_identity_by_id | GET /identities/{id} | Get identity |
| IdentityApi | get_identity_resource_by_id | GET /identity/{id}/resources/{resource_id} | Get resource |
| IdentityApi | list_identities | GET /identities | List identities |
| IdentityApi | list_identity_resources | GET /identity/{id}/resources | List resources |
| ProjectApi | get_settings | GET /settings | Get project settings |
Documentation For Models
- Cursor
- DataPoints
- Identity
- IdentityOwner
- IdentityResource
- PaginatedIdentities
- PaginatedResources
- ProjectSettings
- ProjectSettingsCustomizations
- ProjectSettingsVerificationSteps
- Resource
- ResourceFile
- ResourceFiles
- ResourceFilesInner
- ResourceFilesInput
- ResourceFilesInputInner
- ResourceInput
- ResourceType
- User
- WatchlistResponse
Documentation For Authorization
IdentityAccessToken
PublishableApiKey
- Type: API key
- API key parameter name: X-API-KEY
- Location: HTTP header
SecretApiKey
- Type: API key
- API key parameter name: X-API-KEY
- Location: HTTP header
Author
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
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 passbase-1.1.0.tar.gz.
File metadata
- Download URL: passbase-1.1.0.tar.gz
- Upload date:
- Size: 29.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e85a3641bd1b0fc0bf069365091ab2ffaa2d54778464d9641c46175c8c98ac9d
|
|
| MD5 |
fa3d3154f54e0053d89de99787b3c311
|
|
| BLAKE2b-256 |
e5a265fb3b42d43661b8bc5c329ee62371555d1aaa874623c3fae9d3b0cc825d
|
File details
Details for the file passbase-1.1.0-py3-none-any.whl.
File metadata
- Download URL: passbase-1.1.0-py3-none-any.whl
- Upload date:
- Size: 104.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3dcf7d84ccd1d471ed97fef96e9e7aaca14c8e6e8223e4e5b32108687f28675e
|
|
| MD5 |
ec7d479328ebc5bcae8ff544e729bf36
|
|
| BLAKE2b-256 |
cec0c875e81dbe0c93bd45c14b812eafc83f03fb191d9263ba4386d5126594f1
|