Fingerprint Pro Server API
Project description
:warning: Work in progress: This is a beta version of the library
Fingerprint Pro Server Python SDK
Fingerprint Pro Server API provides a way for validating visitors’ data issued by Fingerprint Pro.
This Python package is automatically generated by the Swagger Codegen project:
- API version: 3
- Package version: 0.0.2-beta.8
- 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/fingerprintjs/fingerprint-pro-server-api-python-sdk.git
(you may need to run pip
with root permission: sudo pip install git+https://github.com/fingerprintjs/fingerprint-pro-server-api-python-sdk.git
)
Then import the package:
import fingerprint_pro_server_api_sdk
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 fingerprint_pro_server_api_sdk
Getting Started
Please follow the installation procedure and then run the following:
from __future__ import print_function
import fingerprint_pro_server_api_sdk
from fingerprint_pro_server_api_sdk import Response
from fingerprint_pro_server_api_sdk.rest import ApiException
from pprint import pprint
# Configure API key authorization and region
configuration = fingerprint_pro_server_api_sdk.Configuration(api_key="SECRET_API_KEY")
# configuration = fingerprint_pro_server_api_sdk.Configuration(api_key="SECRET_API_KEY", region="eu")
# create an instance of the API class
api_instance = fingerprint_pro_server_api_sdk.FingerprintApi(configuration)
visitor_id = 'visitor_id_example' # str |
#request_id = 'request_id_example' # str | Filter events by requestId (optional)
#linked_id = 'linked_id_example' # str | Filter events by custom identifier (optional)
limit = 10 # int | Limit scanned results (optional)
#before = 56 # int | Used to paginate results (optional)
try:
api_response: Response = api_instance.get_visits(visitor_id, limit=2)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->visitors_visitor_id_get: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to https://api.fpjs.io
Class | Method | HTTP request | Description |
---|---|---|---|
FingerprintApi | get_visits | GET /visitors/{visitor_id} |
Documentation For Models
- BrowserDetails
- Confidence
- IPLocation
- IPLocationCity
- Location
- ManyRequestsResponse
- Response
- StSeenAt
- Subdivision
- Visit
- WebhookVisit
Documentation For Authorization
ApiKeyHeader
- Type: API key
- API key parameter name: Auth-API-Key
- Location: HTTP header
ApiKeyQuery
- Type: API key
- API key parameter name: api_key
- Location: URL query string
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
Hashes for fingerprint-pro-server-api-sdk-0.0.2b8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a308100bc92bc4f1ed574be5bec46a16f9a24be537c341ee7b3a50b1bcb57eaa |
|
MD5 | a7ce4ce67c523264888e8eccf3dcc3a2 |
|
BLAKE2b-256 | 26e2e12b631d1e46659ce6f8e309a22ff7ceb23fa0afb0708f7ade5294ac3ce0 |
Hashes for fingerprint_pro_server_api_sdk-0.0.2b8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c78bda5d76d43773d8fa2aa4ae84ac193ff6e99f37dd93a8744c0546df27ff65 |
|
MD5 | 215afe9959966b72d12a24a71e2f3628 |
|
BLAKE2b-256 | 884522702292a4aa905cb9dd64bbd9d5567ae41bfd1b46e796322adee8deee1f |