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
Project details
Release history Release notifications | RSS feed
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 hashes)