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_sms_register_code():
push_service_sdk.send_sms_register_code("xxxxxxxxxxx", "xxxxxx")
def send_sms_login_code():
push_service_sdk.send_sms_login_code("xxxxxxxxxxx", "xxxxxx")
def send_sms_change_password_code():
push_service_sdk.send_sms_change_password_code("xxxxxxxxxxx", "xxxxxx")
def send_email_register_code():
push_service_sdk.send_email_register_code("xxxxxxxxxxx", "xxxxxx")
def send_email_login_code():
push_service_sdk.send_email_login_code("xxxxxxxxxxx", "xxxxxx")
def send_email_change_password_code():
push_service_sdk.send_email_change_password_code("xxxxxxxxxxx", "xxxxxx")
if __name__ == '__main__':
send_sms_register_code()
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
Close
Hashes for longleding-push-service-sdk-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d084057f30476915c0e971166006156538b6fc0d1e4d235cc5a8f75eb59572c5 |
|
MD5 | 73133e7494bcb88e5a6131acda0747f7 |
|
BLAKE2b-256 | f773c28a9ee68f05f363b91ab3c7df90333174ebece5c00d63524a9463a6e957 |
Close
Hashes for longleding_push_service_sdk-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56e5c897857bdfad0e8061ec18ac8e1b32700b45d2cdd644292439a15b083d8c |
|
MD5 | 16eaa9be28795cc67116db1842b65839 |
|
BLAKE2b-256 | ec3e804885281ac3d96d8eec77f0e392b6fc54f42df93e1a9650761e95d336e9 |