SMSC.ru HTTP API Library.
Project description
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!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
smsc-0.1.1.tar.gz
(1.5 MB
view details)
Built Distribution
File details
Details for the file smsc-0.1.1.tar.gz
.
File metadata
- Download URL: smsc-0.1.1.tar.gz
- Upload date:
- Size: 1.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 258c59f6ce818e9c8917c197ae74411e933910acdf303e4ce25092ac605c6e78 |
|
MD5 | 6cca01df8dae31ea6fa9ad861f018fdb |
|
BLAKE2b-256 | 0d13eef87406525aa1e9247fb6c78826b47783e1a073dcbeb24eb7ae08beb563 |
File details
Details for the file smsc-0.1.1-py2.py3-none-any.whl
.
File metadata
- Download URL: smsc-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21465f4ce3f9db62d1d04068eb41124ab99bc8fd4f72b7dc2a2debafd8997732 |
|
MD5 | 10a8fd10b495ad59f6de6ceb655b75d2 |
|
BLAKE2b-256 | 584b51148e62d9f8a199e335c43f30162835bbff16e611ecf6d146ee473148a3 |