Integrify API inteqrasiyalarını rahatlaşdıran bünovrə (core) kitabxanadır.
Project description
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.
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
İ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 | :white_check_mark: | Tam | :white_check_mark: | Miradil Zeynallı | |
| KapitalBank | :white_check_mark: | :white_check_mark: | Tam | :white_check_mark: | Zaman Kazımov |
| LSIM | :white_check_mark: | :white_check_mark: | Tam | :white_check_mark: | Miradil Zeynallı |
| Posta Guvercini | :white_check_mark: | :white_check_mark: | Tam | :white_check_mark: | Zaman Kazımov |
| Azericard | :white_check_mark: | Tam | Miradil Zeynallı | ||
| Payriff | Vahid Həsənzadə |
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file integrify_core-1.0.3.tar.gz.
File metadata
- Download URL: integrify_core-1.0.3.tar.gz
- Upload date:
- Size: 22.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
abee722f1e29971b8edfb5c7a3925c21a552738b7537edc4494afed5c8052042
|
|
| MD5 |
aed8422cba7df601172f3a19c1be659d
|
|
| BLAKE2b-256 |
215c363ec4b1c46250a4ee297cbc0feec87ea659bc6062ca105af2a81ce92859
|
Provenance
The following attestation bundles were made for integrify_core-1.0.3.tar.gz:
Publisher:
publish.yml on Integrify-SDK/integrify-core-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
integrify_core-1.0.3.tar.gz -
Subject digest:
abee722f1e29971b8edfb5c7a3925c21a552738b7537edc4494afed5c8052042 - Sigstore transparency entry: 291209385
- Sigstore integration time:
-
Permalink:
Integrify-SDK/integrify-core-python@5e2dcf8419f6530cfb14686651ae013fad3e2525 -
Branch / Tag:
refs/tags/v1.0.3 - Owner: https://github.com/Integrify-SDK
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@5e2dcf8419f6530cfb14686651ae013fad3e2525 -
Trigger Event:
release
-
Statement type:
File details
Details for the file integrify_core-1.0.3-py3-none-any.whl.
File metadata
- Download URL: integrify_core-1.0.3-py3-none-any.whl
- Upload date:
- Size: 21.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a4bc76725fed3c997eb4373ca2731be97e3bc4d543c7d1435fc8798971b91ee
|
|
| MD5 |
2912fa59d9dc578a50dc9ac9ae65cf17
|
|
| BLAKE2b-256 |
79be8cd45eea73d13edf9c2f9847f307051945147be6254f957e4e473339b794
|
Provenance
The following attestation bundles were made for integrify_core-1.0.3-py3-none-any.whl:
Publisher:
publish.yml on Integrify-SDK/integrify-core-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
integrify_core-1.0.3-py3-none-any.whl -
Subject digest:
3a4bc76725fed3c997eb4373ca2731be97e3bc4d543c7d1435fc8798971b91ee - Sigstore transparency entry: 291209402
- Sigstore integration time:
-
Permalink:
Integrify-SDK/integrify-core-python@5e2dcf8419f6530cfb14686651ae013fad3e2525 -
Branch / Tag:
refs/tags/v1.0.3 - Owner: https://github.com/Integrify-SDK
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@5e2dcf8419f6530cfb14686651ae013fad3e2525 -
Trigger Event:
release
-
Statement type: