Documentation Index
Fetch the complete documentation index at: https://docs.fingerprint.com/llms.txt
Use this file to discover all available pages before exploring further.
How to install
Add fingerprint_pro_server_api_sdk as a dependency to your application via pip from GitHub or PyPI.
pip install git+https://github.com/fingerprintjs/python-sdk.git@api-v3
pip install fingerprint_pro_server_api_sdk
Initialize the client instance and use it to make API requests. You need to specify your secret API key and region (if it is not US/Global).
import fingerprint_pro_server_api_sdk
from fingerprint_pro_server_api_sdk.rest import ApiException
configuration = fingerprint_pro_server_api_sdk.Configuration(
api_key="SECRET_API_KEY",
# region="eu"
)
api_instance = fingerprint_pro_server_api_sdk.FingerprintApi(configuration)
# Get visit history of a specific visitor
try:
visits = api_instance.get_visits("VISITOR_ID", limit=10)
print(visits)
except ApiException as e:
print("Exception when getting visits: %s\n" % e)
# Get a specific identification event
try:
event = api_instance.get_event("REQUEST_ID")
print(event)
except ApiException as e:
print("Exception when getting an event: %s\n" % e)
Documentation
You can find the full documentation in the official GitHub repository.