BluedotSMS python wrapper
Project description
# Bluedot-sms unofficial API
This is an unofficial API for [Bluedot-sms](http://bluedotsms.com)
Requirements:
Python 3
Installation:
> pip install pybluedot
Usage
```python
from pybluedot import Bluedot
client = Bluedot(username="SuperCode", password="I don't know")
@client.send("SuperCode") #Your registered Sender Name
def my_callback(result):
print(result.status) #200
print(result.response) #Get response body from Bluedot
print(client['balance']) #Get Current Balance
#send sms
data = {"recipients" : ["263784442662", "26378123456"], "msg" : "Hey i sent a text with pybluedot"}
my_callback(data) #That's All !!!
```
This is an unofficial API for [Bluedot-sms](http://bluedotsms.com)
Requirements:
Python 3
Installation:
> pip install pybluedot
Usage
```python
from pybluedot import Bluedot
client = Bluedot(username="SuperCode", password="I don't know")
@client.send("SuperCode") #Your registered Sender Name
def my_callback(result):
print(result.status) #200
print(result.response) #Get response body from Bluedot
print(client['balance']) #Get Current Balance
#send sms
data = {"recipients" : ["263784442662", "26378123456"], "msg" : "Hey i sent a text with pybluedot"}
my_callback(data) #That's All !!!
```
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pybluedot-0.2.0.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for pybluedot-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b96725050eacf3924c49745a79dd1e61b89c7976c6aa1207311b6ca981b227c4 |
|
MD5 | 0153367ee4e8b2d7b8211609fbb21838 |
|
BLAKE2b-256 | 4b26eb08273f7adc646cf8f05dc018138316689acf506ee015005c250a6b63f9 |