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.

Source Distribution

snowland-py253-0.0.2.tar.gz (5.1 kB view hashes)

Uploaded Source

Built Distribution

snowland_py253-0.0.2-py3-none-any.whl (8.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page