Python3 SDK for 253.com (SMS)
Project description
创蓝253接口SDK
使用方法
python import configparser from snowland_py253.account_manage import AccountManage from snowland_py253.internal_message import InternalMessage cp = configparser.ConfigParser() cp.read(‘../config.conf’) account = cp.get(‘sms’, ‘account’) password = cp.get(‘sms’, ‘password’) acc = InternalMessage(account=account, password=password)
sms = acc.send_sms(”【雪域网络】测试接口”, “15343126139”) print(sms) pull = acc.pull_mo() print(pull) pull = acc.pull_report() print(pull)
balance = acc.get_user_balance() print(balance)
acc = AccountManage(account=account, password=password) balance = acc.add_sub_account() print(balance)
Project details
Release history Release notifications | RSS feed
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
Hashes for snowland_py253-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1610fbc863e2b27a8f636211608712479deb0f1916f2d671fccc11b6187dad1a |
|
MD5 | 20fff3cbb8ce3bbfb42da8db0c65dbaf |
|
BLAKE2b-256 | 4ab169f5f089db6008fad0563d7077a9aadafbf9701b1c00e08560c7c6335ecb |