Skip to main content

A Library to help you identify you users using Zibal API

Project description

pyident

A Library to help you identify you users using Zibal API

Usage

.env

ZIBAL_TOKEN=your-token

identification.py

from pyident.zibal import ZibalClient

# Initialize the client
client = ZibalClient()

# Check if user is identified
is_identified: bool = client.is_user_identified(
    mobile="1234567890",
    national_code="1234567890"
)

# Get user identity
identity: dict, status_code: int = client.get_user_identity(
    birthday="1990/01/01",
    national_code="1234567890"
)

Contributing to the Project

Commit Messages

We follow the Conventional Commits. The commit message should be structured as follows:

<type>[optional scope]: <description>

[optional body]

[optional footer(s)]

Here's a list of types you can use for your commit message:

  • feat: A new feature
  • fix: A bug fix
  • docs: Documentation changes
  • style: Code style changes (like formatting)
  • refactor: Code changes that neither fix a bug nor add a feature
  • test: Adding or modifying tests
  • chore: Routine tasks, such as dependencies updates

Commit message example:

feat(auth): add login API endpoint
feat(lang): add Polish language

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyident-0.1.1.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyident-0.1.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file pyident-0.1.1.tar.gz.

File metadata

  • Download URL: pyident-0.1.1.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.12 Linux/6.8.0-49-generic

File hashes

Hashes for pyident-0.1.1.tar.gz
Algorithm Hash digest
SHA256 54b6ba2bd6eff6941732b048e567777421dfaf1cd5e7a202830e4b6e89bf9405
MD5 520edb55d0652fb02f9bcafa9954cfe5
BLAKE2b-256 bb6579ad12e3763c7d33d19d40e4e1028500297722bebfdb481837eaaa80a979

See more details on using hashes here.

File details

Details for the file pyident-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pyident-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.12 Linux/6.8.0-49-generic

File hashes

Hashes for pyident-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5b73c48ddb85b42fe595b76b625497379cd1115ee30ce60b1f68172480f468a0
MD5 776afa1d6180a7f1669d37b8a0a0bc2c
BLAKE2b-256 b72ccbba471fc0cda7e1593315821a859535e99e472ac4d3c59675ecf949fc41

See more details on using hashes here.

Supported by

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