Last updated:
0 purchases
playmobile 1.0
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
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.