Skip to main content

clickme

Project description

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

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

clickme-1.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

clickme-1.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file clickme-1.0.tar.gz.

File metadata

  • Download URL: clickme-1.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for clickme-1.0.tar.gz
Algorithm Hash digest
SHA256 cca906c0f34d0d76cc47be242dfe1eeaa637c4a4d71e1c148c0aad3010642d8a
MD5 3c653e137c15ebad42fe02552cf9e117
BLAKE2b-256 78d8885e719464580a8cbb151be4aa3621ad174d0df8d58d49cc147c457de311

See more details on using hashes here.

File details

Details for the file clickme-1.0-py3-none-any.whl.

File metadata

  • Download URL: clickme-1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for clickme-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d7620d46fd50f76cff87b96a3e5c60da7a1130acbacb7ec998a9bd3f25157b41
MD5 54b541cd9e09e330b77d8cccc80ff463
BLAKE2b-256 5025786363db20fb324f6e0f1396a7b4a1cc2a3fb8250781c7d498df5f5ee4ee

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page