Official Python SDK for the Relentless Identity API. Learn more at https://relentlessidentity.com/docs.
Project description
relentless-identity
Public client API for Finder and Probe workflows. This spec is generated from the FastAPI app, then narrowed to the supported bearer-authenticated routes used by SDKs and the API reference.
Homepage: https://relentlessidentity.com
Docs: https://relentlessidentity.com/docs
This Python package is automatically generated by the OpenAPI Generator project:
- API version: 1.0.0
- Package version: 1.0.1
- Generator version: 7.21.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
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 relentless_identity
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 relentless_identity
Tests
Execute pytest to run the tests.
Getting Started
Please follow the installation procedure and then run the following:
import relentless_identity
from relentless_identity.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.relentlessidentity.com
# See configuration.py for a list of all supported configuration parameters.
configuration = relentless_identity.Configuration(
host = "https://api.relentlessidentity.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure Bearer authorization (PAT): bearerAuth
configuration = relentless_identity.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with relentless_identity.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = relentless_identity.AccountApi(api_client)
page = 1 # int | Page number starting at 1. (optional) (default to 1)
page_size = 25 # int | Number of history rows per page. Maximum 25. (optional) (default to 25)
request_type = 'request_type_example' # str | Optional request-type filter. (optional)
state = 'state_example' # str | Optional deliverability-state filter. (optional)
try:
# Get paginated request history
api_response = api_instance.get_request_history(page=page, page_size=page_size, request_type=request_type, state=state)
print("The response of AccountApi->get_request_history:\n")
pprint(api_response)
except ApiException as e:
print("Exception when calling AccountApi->get_request_history: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to https://api.relentlessidentity.com
| Class | Method | HTTP request | Description |
|---|---|---|---|
| AccountApi | get_request_history | GET /client/history | Get paginated request history |
| AccountApi | get_token_status | GET /client/token | Inspect the current bearer token |
| AccountApi | get_usage | GET /client/usage | Get current usage and limits |
| FinderApi | finder_attempt | POST /client/attempt | Find a work email |
| JobsApi | get_job | GET /client/jobs/{job_id} | Get background job |
| JobsApi | get_job_inputs_text | GET /client/jobs/{job_id}/inputs.txt | Download job inputs |
| JobsApi | get_job_results_json | GET /client/jobs/{job_id}/results.json | Download job results as JSON |
| JobsApi | get_job_results_text | GET /client/jobs/{job_id}/results.txt | Download job results as text |
| JobsApi | list_jobs | GET /client/jobs | List background jobs |
| JobsApi | schedule_finder_batch | POST /client/jobs/finder | Schedule a finder batch |
| JobsApi | schedule_probe_batch | POST /client/jobs/probe-batch | Schedule a probe batch |
| ProbeApi | probe_batch | POST /client/probe/batch | Verify many email addresses |
| ProbeApi | probe_email | POST /client/probe | Verify an email address |
Documentation For Models
- AliasInfo
- BatchSummary
- ClientBackgroundJobDetailResponse
- ClientBackgroundJobItemResponse
- ClientBackgroundJobPageResponse
- ClientBackgroundJobResponse
- ClientBatchIdentityResponse
- ClientFinderResponse
- ClientFinderResponseAlias
- ClientIdentityResponse
- ClientRequestHistoryItem
- ClientRequestHistoryPageResponse
- ClientTokenStatusResponse
- ClientUsageResponse
- ErrorResponse
- FinderBatchJobRequest
- FinderBatchJobRequestInputsInner
- FinderRequest
- HTTPValidationError
- IdentityProvider
- LocationInner
- ProbeBatchJobBackgroundRequest
- ProbeBatchRequest
- ProbeRequest
- ValidationError
Documentation For Authorization
Authentication schemes defined for the API:
bearerAuth
- Type: Bearer authentication (PAT)
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 relentless_identity-1.0.1.tar.gz.
File metadata
- Download URL: relentless_identity-1.0.1.tar.gz
- Upload date:
- Size: 45.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4127fd671a44910c5fdb1860f81a6b755b99f5bd8f55bf3c732af4d57c2f99ef
|
|
| MD5 |
b5a13d6b61debcee256f0225168bbef0
|
|
| BLAKE2b-256 |
023423301f2955891119d8299577839c9c88e00ec7d5338e8d30cecafd4d08f2
|
File details
Details for the file relentless_identity-1.0.1-py3-none-any.whl.
File metadata
- Download URL: relentless_identity-1.0.1-py3-none-any.whl
- Upload date:
- Size: 76.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9d7e0094beef47d52e3893cb84e996bf997b0015ecfa013351309e401085491
|
|
| MD5 |
af92af04193f91912fb1a62a5d95cf0f
|
|
| BLAKE2b-256 |
1cc987bb48047e6c7e15cd9e66777adcdd80af47b264623c835cb3d4617ced61
|