Skip to main content

SMSC.ru HTTP API Library.

Project description

Documentation Status https://travis-ci.org/Otetz/smsc.svg?branch=master https://coveralls.io/repos/github/Otetz/smsc/badge.svg?branch=master

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!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
smsc-0.1.1-py2.py3-none-any.whl (9.9 kB) Copy SHA256 hash SHA256 Wheel py2.py3 May 30, 2017
smsc-0.1.1.tar.gz (1.5 MB) Copy SHA256 hash SHA256 Source None May 30, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page