Welcome to smsc’s documentation!

SMSC

https://img.shields.io/pypi/v/smsc.svg Documentation Status https://travis-ci.org/Otetz/smsc.svg?branch=master https://coveralls.io/repos/github/Otetz/smsc/badge.svg?branch=master https://img.shields.io/codeclimate/github/Otetz/smsc.svg https://img.shields.io/pypi/l/smsc.svg https://img.shields.io/pypi/pyversions/smsc.svg

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.

Release History

0.1.1 (2017-05-30)

  • Default charset set to UTF-8.

0.1.0 (2017-05-29)

  • Birth!

The API Documentation

If you are looking for information on a specific function, class, or method, this part of the documentation is for you.

Indices and tables