Longleding Push Service SDK
Project description
Longleding Push Service SDK
Supported Python Versions
Python >= 3.6
Installation
longleding-push-service-sdk is available for Linux, macOS, and Windows.
$ pip install longleding-push-service-sdk
Basic Usage
# -*- coding: utf-8 -*-
from sdk import push_service_sdk
push_service_endpoint = "localhost:80"
source_name = "demo"
push_service_sdk.init_service(endpoint=push_service_endpoint, source=source_name)
def send_register_code():
push_service_sdk.send_register_code("xxxxxxxxxxx", "xxxxxx")
def send_login_sms():
push_service_sdk.send_login_code("xxxxxxxxxxx", "xxxxxx")
def send_change_password_code():
push_service_sdk.send_change_password_code("xxxxxxxxxxx", "xxxxxx")
if __name__ == '__main__':
send_login_sms()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file longleding-push-service-sdk-0.1.0.tar.gz.
File metadata
- Download URL: longleding-push-service-sdk-0.1.0.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba9865bb84ebdb9f44f3e48361f4d82a9d11dd20ad13a8581a8b6ea29a467bcf
|
|
| MD5 |
5155f9a7c0542129797ff4d1e20e4cef
|
|
| BLAKE2b-256 |
cbc55762cdbb2c33ed13b42d50638dee5753cf07057aa568fd0c6d023e896da1
|
File details
Details for the file longleding_push_service_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: longleding_push_service_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 19.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a256778030846265649d0d655bb3e2f6e3cf2481c82483b1ea0964f4a9776941
|
|
| MD5 |
b66e5dc1c43ee20b56b8360fd91d4817
|
|
| BLAKE2b-256 |
a15ff1f70a91699117804a666c51cdc53705dde999e0acf492d15dc41451887e
|