Skip to content

Integrify

Integrify

Integrify is library for easing API integrations

Test Publish Package version Netlify Status

Downloads Supported Python versions Coverage


Dokumentasiya: https://integrify.mmzeynalli.dev

Kod: https://github.com/orgs/Integrify-SDK/repositories


Main features

  • Library supports both sync and async request/response exchange.
  • All class, function and variables are documented.
  • Type hinting for code editors are active, as all class, function and variables are typed.
  • The flow logic of most of the requests are explained.

Installation

$ # pip install integrify-integration
$ pip install integrify-clopos
---> 100%

Usage

For example, to use Clopos requests:

Sync

from integrify.clopos import CloposRequest

resp = CloposRequest.get_users(headers={'x-token': 'token'})
print(resp.ok, resp.body)

Async

from integrify.clopos import CloposAsyncRequest

# Async main loop artıq başlamışdır
resp = await CloposAsyncRequest.get_users(headers={'x-token': 'token'})
print(resp.ok, resp.body)

Request response

Response type to any request is ApiResponse class:

class ApiResponse:
    ok: bool
    """If status code is less than 400"""

    status_code: int
    """Response status code"""

    headers: dict
    """Response headers"""

    body: Varies
    """Response body"""

List of supported API integrations

Warning

Even though all requests are written based on official documentations, Integrify in unofficial library.

Service Main requests All requests Documentation Tested in prod environment Main developer
EPoint loading Full Miradil Zeynallı
KapitalBank Full Zaman Kazımov
LSIM Full Miradil Zeynallı
Posta Guvercini Full Zaman Kazımov
Azericard loading Full loading Miradil Zeynallı
Clopos Full loading Miradil Zeynallı
Payriff loading loading loading loading Vahid Həsənzadə