Giter Site home page Giter Site logo

onboarding-python's Introduction

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 [email protected].

Requirements

Python 3.7+

Installation ๐Ÿ’ป

pip install alice-onboarding

Getting Started ๐Ÿ“ˆ

Config

Configure your credentials with Config class

from alice import Config

config = Config(api_key=given_valid_api_key)

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 ๐Ÿ“ฌ

[email protected]

onboarding-python's People

Contributors

acostapazo avatar miguel-lorenzo avatar alicebiometrics avatar julian-lamoso avatar fgsalomon avatar franciscorode avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.