Skip to main content
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!

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)

Uploaded Source

Built Distribution

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

smsc-0.1.1-py2.py3-none-any.whl (9.9 kB view details)

Uploaded Python 2Python 3

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

Hashes for smsc-0.1.1.tar.gz
Algorithm Hash digest
SHA256 258c59f6ce818e9c8917c197ae74411e933910acdf303e4ce25092ac605c6e78
MD5 6cca01df8dae31ea6fa9ad861f018fdb
BLAKE2b-256 0d13eef87406525aa1e9247fb6c78826b47783e1a073dcbeb24eb7ae08beb563

See more details on using hashes here.

File details

Details for the file smsc-0.1.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for smsc-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 21465f4ce3f9db62d1d04068eb41124ab99bc8fd4f72b7dc2a2debafd8997732
MD5 10a8fd10b495ad59f6de6ceb655b75d2
BLAKE2b-256 584b51148e62d9f8a199e335c43f30162835bbff16e611ecf6d146ee473148a3

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 files

0.1.0

3 files

Supported by

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