You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

smsc

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smsc

SMSC.ru HTTP API Library.

0.1.1
PyPI
Maintainers
1

SMSC

.. image:: https://img.shields.io/pypi/v/smsc.svg :target: https://pypi.python.org/pypi/smsc

.. image:: https://readthedocs.org/projects/smsc_python/badge/?version=latest :target: http://smsc_python.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status

.. image:: https://travis-ci.org/Otetz/smsc.svg?branch=master :target: https://travis-ci.org/Otetz/smsc

.. image:: https://coveralls.io/repos/github/Otetz/smsc/badge.svg?branch=master :target: https://coveralls.io/github/Otetz/smsc?branch=master

.. image:: https://img.shields.io/codeclimate/github/Otetz/smsc.svg :target: https://codeclimate.com/github/Otetz/smsc

.. image:: https://img.shields.io/pypi/l/smsc.svg :target: https://pypi.python.org/pypi/smsc

.. image:: https://img.shields.io/pypi/pyversions/smsc.svg :target: https://pypi.python.org/pypi/smsc

SMSC.ru HTTP API Library.

Installation

Install smsc package from PyPI <https://pypi.python.org/pypi>_:

.. code-block:: bash

$ pip install smsc

Getting started

Basic usage sample:

.. code-block:: python

>>> 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 <http://smsc_python.readthedocs.io/en/latest/>_.

  • SMSC.ru HTTP API <https://smsc.ru/api/http/#menu>_

.. :changelog:

Release History

0.1.1 (2017-05-30) ++++++++++++++++++

  • Default charset set to UTF-8.

0.1.0 (2017-05-29) ++++++++++++++++++

  • Birth!

Keywords

smsc sms

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts