Skip to main content

Integrify API inteqrasiyalarını rahatlaşdıran sorğular kitabaxanasıdır.

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

Integrify

Integrify API inteqrasiyalarını rahatlaşdıran sorğular kitabaxanasıdır.

Test Publish Package version Netlify Status Downloads Supported Python versions Coverage


Dokumentasiya: https://integrify.mmzeynalli.dev

Kod: https://github.com/mmzeynalli/integrify


Ə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

İ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"""

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

Servis Əsas sorğular Bütün sorğular Dokumentləşdirilmə Link Əsas developer
EPoint :heavy_check_mark: loading Tam Docs Miradil Zeynallı
Payriff loading loading loading loading Vahid Həsənzadə
KapitalBank :heavy_check_mark: :heavy_check_mark: Tam Docs Zaman Kazımov
LSIM loading loading loading loading Fuad Hüseynov

Download files

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

Source Distribution

integrify-2.1.0.tar.gz (38.5 kB view details)

Uploaded Source

Built Distribution

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

integrify-2.1.0-py3-none-any.whl (46.9 kB view details)

Uploaded Python 3

File details

Details for the file integrify-2.1.0.tar.gz.

File metadata

  • Download URL: integrify-2.1.0.tar.gz
  • Upload date:
  • Size: 38.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.8

File hashes

Hashes for integrify-2.1.0.tar.gz
Algorithm Hash digest
SHA256 1c1c0ae017cd4115bbb6a46df87b5e501970ef59520c79afc3a0edf80d3d4150
MD5 131b79e92d36a70890e43d031a4d7971
BLAKE2b-256 87af4c770657a305ea4f49de03e337a734d42096983341c57654113c866aff5f

See more details on using hashes here.

File details

Details for the file integrify-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: integrify-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 46.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.8

File hashes

Hashes for integrify-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0372353b5360dfe53792ecf293fefdab469781c02bb047548b159d5260d31dd0
MD5 43ddb59b955d2a4807022e2aa91eb6c0
BLAKE2b-256 1947ab00765d3ae93918354c0f8cad53e129dc925b281b8fa9f5ae55e38a5fc4

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