Socket
Socket
Sign inDemoInstall

smsc

Package Overview
Dependencies
4
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    smsc

SMSC.ru HTTP API Library.


Maintainers
1

Readme

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

FAQs


Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc