Simple API wrapper for redsms service
This is a python library that wraps RedSms API.
Both Python 2 and 3 are supported.
Use virtualenv
to install redsms
package.
virtualenv --python <path/to/the/preffered/version> .env
source .env/bin/activate
python setup.py install
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
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.
This is an open source project. Your ideas to improve the library are welcome.