Installation
This framework is published at the PyPI, install it with pip:
This package makes it possible to use module methods in synchronous frameworks:
pip install monobank-api-client[http]
This package makes it possible to use module methods in asynchronous frameworks:
pip install monobank-api-client[aio]
This package makes it possible to use ready-made views with a synchronous script based on the Django Rest framework:
pip install monobank-api-client[drf]
To get started, add the following packages to INSTALLED_APPS:
INSTALLED_APPS = [ ... 'rest_framework', 'drf_mono', ]
Include drf_mono urls to your urls.py:
urlpatterns = [ ... path('mono/', include('drf_mono.urls', namespace='drf_mono')), ]
This package makes it possible to use ready-made routers with an asynchronous script based on the FastAPI framework:
pip install monobank-api-client[fastapi]
To install all packages at once:
pip install monobank-api-client[all]