How to install
Addfingerprint_pro_server_api_sdk as a dependency to your application via pip from GitHub or PyPI.
Bash
Bash
Python
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Fingerprint Server Python SDK is an easy way to interact with our Server API from your Python application. You can retrieve visitor history or individual identification events. View our Python Server SDK quickstart for a step-by-step guide to get started.
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
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)
Was this page helpful?