Metadata-Version: 2.0
Name: snowland-py253
Version: 0.0.2
Summary: Python3 SDK for 253.com (SMS)
Home-page: https://gitee.com/snowlandltd/snowland-253-python
Author: A.Star
Author-email: astar@snowland.ltd
License: Apache v2.0 License
Description-Content-Type: UNKNOWN
Platform: all
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: Implementation
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Software Development :: Libraries
Requires-Dist: snowland-authsdk (>=0.0.4)
Requires-Dist: astartool (>=0.0.5)
Requires-Dist: configparser
Requires-Dist: requests

===================
snowland-253-python
===================


.. image:: https://img.shields.io/pypi/v/snowland-py253.svg
    :target: https://pypi.python.org/pypi/snowland-py253

.. image:: https://gitee.com/snowlandltd/snowland-253-python/badge/star.svg
    :target: https://gitee.com/snowlandltd/snowland-253-python/stargazers

.. image:: https://img.shields.io/pypi/dm/snowland-py253.svg
    :target: https://pypi.org/project/snowland-py253

.. image:: https://img.shields.io/pypi/wheel/snowland-py253.svg
    :target: https://pypi.python.org/pypi/snowland-py253


创蓝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)



