A Python API Client for https://www.bulker.gr

https://img.shields.io/pypi/v/bulkergr_api.svg Documentation Status Updates

A Python Client for v1.0 of Bulker.gr SMS HTTP API

Installation

pip install bulkergr-api

Examples

Submit a simple SMS through bulker.gr API SMS HTTP Client.

from bulkergr_api import Bulkergr

AUTH_KEY = 'XXXX'  # your auth key here.

bulker = Bulkergr(auth_key=AUTH_KEY)
params = {
    'from': 'XXXX',  # from sender parameter depending on your bulker.gr account
    'to': 'XXXXX',  # mobile number (MSISDN), starting with country code
    'text': 'some random text here',
}

r = bulker.submit_sms(params)
print(r.results)

Features

  • Submit SMS to the API
  • Converting CSV text response to dict

TODO

  • Integrate delivery receipts
  • Integrate balance queries
  • Enhance library’s features of submitting
  • Enhance library’s validity checks
  • Complete tests based on API
  • Write the docs
  • Enable cli functionality

Compatibility

python2.7 python3.4+

Credits

This package was created with :heart: by negletios.