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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 942b53747c47c3b067e62141bf88e9e91b86a5ea5f765b33e03d10146f134a81 |
|
MD5 | 26536ff4ae46f4500a8108f977891960 |
|
BLAKE2b-256 | 7647659700725fe857c3ad0f8b073e117ef6733ef438bbe1031f0fdc4f42cc57 |
Close
Hashes for longleding_push_service_sdk-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d1ea530ad4ae9a7587cd74e547370c98c97b4e477f0faa94b7c3e74f5ab7545 |
|
MD5 | ee8d033a7c6473f75233c3e29daa83f2 |
|
BLAKE2b-256 | 417397b9a4439875063cbca0248cf062421087feaf6b2d14ce9718a5991adbce |