Skip to main content

Python3 SDK for 253.com (SMS)

Project description

https://img.shields.io/pypi/v/snowland-py253.svg https://gitee.com/snowlandltd/snowland-253-python/badge/star.svg https://img.shields.io/pypi/dm/snowland-py253.svg https://img.shields.io/pypi/wheel/snowland-py253.svg

创蓝253接口SDK

  1. 使用方法

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for snowland-py253, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size snowland_py253-0.0.2-py3-none-any.whl (8.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size snowland-py253-0.0.2.tar.gz (5.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page