Skip to main content

Alice Onboarding Python SDK

Project description

onboarding-python

version doc

The aim of this Python package is to manage the authentication and backend operations against Alice Onboarding API.

If you want more information about how to integrate with Alice technology, please contact us at support@alicebiometrics.com.

Requirements

Python 3.8+

Installation :computer:

pip install alice-onboarding

Getting Started 📈

Config

Configure your credentials with Config class

from alice import Config

config = Config(api_key="<YOUR-API-KEY>")

By default, this configure the production environment, if you want to use the sandbox environment, you have two options:

  • Add environment parameter on Config
    from alice import Config, Environment
    
    config = Config(api_key="<YOUR-API-KEY>", environment=Environment.SANDBOX)
    

Onboarding

To manage the operations with Alice Onboarding API, use Onboarding class. This class deals with authentication automatically.

export ONBOARDING_API_KEY="<YOUR-API-KEY>"
python examples/onboarding.py

see onboarding example here

Authentication 🔐

To manage authorization and token creations, use Auth class.

Available tokens:

Type Token Info
BACKEND_TOKEN Used to secure global requests.
BACKEND_TOKEN_WITH_USER Used to secure global requests include user_id information embedded
USER_TOKEN Used to secure requests made by the users on their mobile devices or web clients.

To create a BACKEND_TOKEN_WITH_USER and a USER_TOKEN you will need a valid user_id obtained from Alice Onboarding API.

export ONBOARDING_API_KEY="<YOUR-API-KEY>"
python examples/auth.py

see auth example here

Sandbox (Only for early stages of integration)

To manage the operations with the Sandbox API, use Sandbox class.

export ONBOARDING_SANDBOX_TOKEN="<YOUR-SANDBOX-TOKEN>"
python examples/sandbox.py

see sandbox example here

Advanced features 🎩

⚠️ These features could not be available by default. If you obtain a HTTP Error (405 method not allowed). Please, contact us to make them available for your credentials.

Certified Onboarding

If you need certify your user data, you can retrieve a certified Pdf Report with these feature.

export ONBOARDING_API_KEY="<YOUR-API-KEY>"
python examples/onboarding_with_certificate.py

see certified onboarding usage here

User Screening

Alice Onboarding API bring us the opportunity of screening a user over different databases & lists (sanctions, PEP, etc)..

export ONBOARDING_API_KEY="<YOUR-API-KEY>"
python examples/onboarding_with_screening.py

see screening onboarding usage here

Webhooks

Configure your webhooks through the api with the Webhooks object.

export ONBOARDING_API_KEY="<YOUR-API-KEY>"
python examples/onboarding_with_webhooks.py

see onboarding webhooks usage here

Note: You can configure your webhooks using the Onboarding dashboard.

Documentation 📄

For more information about Alice Onboarding: https://docs.alicebiometrics.com/onboarding/

Contact 📬

support@alicebiometrics.com

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

alice-onboarding-5.1.2.tar.gz (38.9 kB view details)

Uploaded Source

Built Distribution

alice_onboarding-5.1.2-py3-none-any.whl (67.8 kB view details)

Uploaded Python 3

File details

Details for the file alice-onboarding-5.1.2.tar.gz.

File metadata

  • Download URL: alice-onboarding-5.1.2.tar.gz
  • Upload date:
  • Size: 38.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for alice-onboarding-5.1.2.tar.gz
Algorithm Hash digest
SHA256 ee020cb17e184c183e38f93cf6a2eb92946887d64f44d831f8562791ba8fdd4d
MD5 6948209d765fec4117c20b502ed614c9
BLAKE2b-256 fe1a4201fdca5f5f8f4e6d671105e738d1075761575b411c202b9122446f5328

See more details on using hashes here.

File details

Details for the file alice_onboarding-5.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for alice_onboarding-5.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c82d5ee0822baceee996e91a2a6a7ad2bff2452b8ae58b8bfda4eca353f01d87
MD5 81babd0444beca88ef2f37556c501cc1
BLAKE2b-256 5b1f1361da724dc78cb4ca2acf8fd9ec63fe9528ccb5dee7ed5beef6c627231c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page