SMSC.ru HTTP API Library.
Installation
Install smsc package from PyPI:
$ pip install smsc
Getting started
Basic usage sample:
>>> from smsc.messages import SMSMessage
>>> from smsc.api import SMSC
>>> client = SMSC(login='alexey', password='psw')
>>> res = client.send(to='79999999999', message=SMSMessage(text='Hello, World!'))
>>> res.count
1
>>> res.cost
1.44
Documentation
Documentation is available at Read the Docs.
Links
Release History
0.1.1 (2017-05-30)
Default charset set to UTF-8.
0.1.0 (2017-05-29)
Birth!
Metadata
Release files for smsc 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| smsc-0.1.1.tar.gz | 1.5 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| smsc-0.1.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 1.6 MB
Release files / smsc-0.1.1.tar.gz
| Download URL | smsc-0.1.1.tar.gz |
|---|---|
| Size | 1.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
258c59f6ce818e9c8917c197ae74411e933910acdf303e4ce25092ac605c6e78
|
|
BLAKE2b-256 checksum How to use checksums |
0d13eef87406525aa1e9247fb6c78826b47783e1a073dcbeb24eb7ae08beb563
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / smsc-0.1.1-py2.py3-none-any.whl
| Download URL | smsc-0.1.1-py2.py3-none-any.whl |
|---|---|
| Size | 9.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
21465f4ce3f9db62d1d04068eb41124ab99bc8fd4f72b7dc2a2debafd8997732
|
|
BLAKE2b-256 checksum How to use checksums |
584b51148e62d9f8a199e335c43f30162835bbff16e611ecf6d146ee473148a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |