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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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