Skip to content

rajab-murod/clickme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages