Skip to main content

Integrify

Integrify API inteqrasiyalarını rahatlaşdıran sorğular kitabaxanasıdır. Bu kitabxana, başqa Integrify alt-kitabxanaları üçün "bünövrə" (core) kitabxanadır.

Test Publish Package version Netlify Status

Downloads Supported Python versions Coverage


Dokumentasiya: https://integrify.mmzeynalli.dev

Kod: https://github.com/Integrify-SDK/integrify-core-python


Əsas özəlliklər

  • Kitabxana həm sync, həm də async sorğu dəyişimini dəstəkləyir.
  • Kitabaxanadakı bütün sinif və funksiyalar tamamilə dokumentləşdirilib.
  • Kitabaxanadakı bütün sinif və funksiyalar tipləndirildiyindən, "type hinting" aktivdir.
  • Sorğuların çoxunun məntiq axını (flowsu) izah edilib.

Kitabxananın yüklənməsi

$ pip install integrify-core

İstifadəsi

Məsələn, EPoint üçün sorğuları istifadə etmək istərsək:

Sync

from integrify.epoint import EPointRequest

resp = EPointRequest.pay(amount=100, currency='AZN', order_id='12345678', description='Ödəniş')
print(resp.ok, resp.body)

Async

from integrify.epoint import EPointAsyncRequest

# Async main loop artıq başlamışdır
resp = await EPointAsyncRequest.pay(amount=100, currency='AZN', order_id='12345678', description='Ödəniş')
print(resp.ok, resp.body)

Sorğu cavabı

Yuxarıdakı sorğuların (və ya istənilən sorğunun) cavab formatı ApiResponse class-ıdır:

class ApiResponse:
    ok: bool
    """Cavab sorğusunun statusu 400dən kiçikdirsə"""

    status_code: int
    """Cavab sorğusunun status kodu"""

    headers: dict
    """Cavab sorğusunun header-i"""

    body: Dəyişkən
    """Cavab sorğusunun body-si"""

[!Caution] Bütün sorğular rəsmi dokumentasiyalara uyğun yazılsalar da, Integrify qeyri-rəsmi API klient-dir.

Dəstəklənən API inteqrasiyaları

Servis Əsas sorğular Bütün sorğular Dokumentləşdirilmə Real mühitdə test Əsas developer
EPoint loading Tam Miradil Zeynallı
KapitalBank Tam Zaman Kazımov
LSIM Tam Miradil Zeynallı
Posta Guvercini Tam Zaman Kazımov
Azericard loading Tam loading Miradil Zeynallı
Payriff loading loading loading loading Vahid Həsənzadə

Download files

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

Source Distribution

integrify_core-1.2.0.tar.gz (24.6 kB view details)

Uploaded Source

Built Distribution

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

integrify_core-1.2.0-py3-none-any.whl (23.9 kB view details)

Uploaded Python 3

File details

Details for the file integrify_core-1.2.0.tar.gz.

File metadata

  • Download URL: integrify_core-1.2.0.tar.gz
  • Upload date:
  • Size: 24.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for integrify_core-1.2.0.tar.gz
Algorithm Hash digest
SHA256 e0533de285a941ff0e8f76db244967508a90a0f8eed36875b71e4199c83361c8
MD5 2a47651ceed79ba7a9c9e6bdd2b9d2eb
BLAKE2b-256 63c144dc846a9b3916dcaecfacf36d2a2d1573fe7a0f41ab8b72e4245218524f

See more details on using hashes here.

Provenance

The following attestation bundles were made for integrify_core-1.2.0.tar.gz:

Publisher: publish.yml on Integrify-SDK/integrify-core-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file integrify_core-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: integrify_core-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 23.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for integrify_core-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d4b8a77dda706f93391c4889d584e42963ce79042fbca899c7ed7eea56fea01c
MD5 cedc5731f6fa0e90bffc6f1c405ef80e
BLAKE2b-256 cbe38f58f415be97ebe50836d164cc522d073bcded80b02ed49807b2e135f001

See more details on using hashes here.

Provenance

The following attestation bundles were made for integrify_core-1.2.0-py3-none-any.whl:

Publisher: publish.yml on Integrify-SDK/integrify-core-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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