Introduction
This package helps to integrate click.uz and your application is built on django.
Installation
Use the package manager pip to install.
pip install requests
pip install djangorestframework
pip install clickme
Usage
# settings.py
INSTALLED_APPS = [
...
'clickme',
'rest_framework',
...
]
CLICKME_SETTINGS = {
'ENDPOINT':'https://api.click.uz/v2/merchant/',
'MERCHANT_ID':'',
'SERVICE_ID':'',
'MERCHANT_USER_ID':'',
'SECRET_KEY':'',
}
# urls.py
urlpatterns = [
...
path('api/clickme/',include('clickme.urls'))
]
Get started
python manage.py migrate
python manage.py runserver
So now we have new API endpoint, which is /api/clickme/.
Documentation
- docs.click.uz
- django-rest-framework docs
Metadata
Release files for clickme 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| clickme-1.0.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| clickme-1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.5 kB
Release files / clickme-1.0.tar.gz
| Download URL | clickme-1.0.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cca906c0f34d0d76cc47be242dfe1eeaa637c4a4d71e1c148c0aad3010642d8a
|
|
BLAKE2b-256 checksum How to use checksums |
78d8885e719464580a8cbb151be4aa3621ad174d0df8d58d49cc147c457de311
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.3
|
Release files / clickme-1.0-py3-none-any.whl
| Download URL | clickme-1.0-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d7620d46fd50f76cff87b96a3e5c60da7a1130acbacb7ec998a9bd3f25157b41
|
|
BLAKE2b-256 checksum How to use checksums |
5025786363db20fb324f6e0f1396a7b4a1cc2a3fb8250781c7d498df5f5ee4ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.3
|