Skip to content

Latest commit

 

History

History
51 lines (38 loc) · 1.28 KB

README.md

File metadata and controls

51 lines (38 loc) · 1.28 KB

smsfarm

python module which provide interface to smsfarm.sk

Maintainability

Getting started

Prerequisites

All dependencies are in requirements.txt file and you can install they using following command

pip install -r requirements.txt

Installing

You can install from source code

git clone https://github.com/j-mak/smsfarm.git
cd smsfarm
python setup.py develop

or you can install this package through pip using following command

pip install smsfarm

Examples

from smsfarm import Client

client = Client("some-code", "some-id")
client.recipients = '+421900123456'

result = client.send_message("Hello World!")
if result.success:
    # message was sended without any error
    print(result.data) 
    delivery_status = client.get_message_status(result.data)
    if delivery_status.success:
        print(delivery_status.data)

Authors

  • Jozef 'sunny' Mak

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details