Skip to main content

playmobile

Project description

Introduction

this package helps to integrate playmobile.uz and your application is built on django.

Installation

Use the package manager pip to install.

pip install requests
pip install djangorestframework
pip install playmobile

Usage

# settings.py

INSTALLED_APPS = [
     ... 
    'playmobile',
    'rest_framework',
     ...
]

PLAY_MOBILE_SETTINGS = {
    'API_URL': '',
    'LOGIN': '',
    'PASSWORD': '',
    'PREFIX': '',     # example : abc - Organization name. no more 20 characters.
    'ORIGINATOR': ''     # if this field is empty default 3700 or set your originator name
}
# urls.py 

from django.urls import path
from playmobile.views import PlayMobileApiView

urlpatterns = [
    path('sender/', PlayMobileApiView.as_view(), name='send')
]

Documentation

  • playmobile.uz docs
  • django-rest-framework docs

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

playmobile-1.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

playmobile-1.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: playmobile-1.0.tar.gz
  • Upload date:
  • Size: 2.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.50.2 CPython/3.7.3

File hashes

Hashes for playmobile-1.0.tar.gz
Algorithm Hash digest
SHA256 8ae779ccc1fbac933976ea34f3b5e669f66c67632596288f8b92bd54971b8065
MD5 149b064c7f7434452515fe2b8e8ab5d6
BLAKE2b-256 917d1378facd3db5440cbc34a0bba8b15cc51437ddd627cd80330744a138678e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: playmobile-1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.2 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.50.2 CPython/3.7.3

File hashes

Hashes for playmobile-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 354816e36bfa6bb58a487c7ece10c3ebbf4d3d4fda99099da3aefbacac4fef0d
MD5 9256dec83e250153a475da031f66ddee
BLAKE2b-256 86a9fea9ead51e85f8b828e19b2585ed23aeef5a2167f3c4a4cb7ea18383f89b

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