Skip to content

redsms/api-samples-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple API wrapper for redsms service

This is a python library that wraps RedSms API.

Supported version

Both Python 2 and 3 are supported.

Installation

Use virtualenv to install redsms package.

virtualenv --python <path/to/the/preffered/version> .env
source .env/bin/activate
python setup.py install

Configuration

To use the API you need to register at https://cp.redsms.ru and specify API key in settings. Copy sample config file. And fill out the necessary information.

cp samples/sample.config.json samples/config.json

Example Usage

See example scripts in the samples directory.

source .env/bin/activate
cd samples
python get_info.py

NB: The regular price will be charged from your account.

Call for contributions

This is an open source project. Your ideas to improve the library are welcome.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages