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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file snowland-py253-0.0.2.tar.gz.

File metadata

  • Download URL: snowland-py253-0.0.2.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/38.4.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.6.4

File hashes

Hashes for snowland-py253-0.0.2.tar.gz
Algorithm Hash digest
SHA256 b298e3b3ca11e2de71fe5c2320464488b9f81f8247da83194a9c1b8640aaca04
MD5 43e3be0bc83db9a47a1f50d44dcf66f1
BLAKE2b-256 9fbe805f320d0ef04b1bf05a1545b73531d8b1ada7faeff232a90a826878b1f6

See more details on using hashes here.

File details

Details for the file snowland_py253-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: snowland_py253-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/38.4.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.6.4

File hashes

Hashes for snowland_py253-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1610fbc863e2b27a8f636211608712479deb0f1916f2d671fccc11b6187dad1a
MD5 20fff3cbb8ce3bbfb42da8db0c65dbaf
BLAKE2b-256 4ab169f5f089db6008fad0563d7077a9aadafbf9701b1c00e08560c7c6335ecb

See more details on using hashes here.

Supported by

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