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", sender="PyBluedot")
@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", sender="PyBluedot")
@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.1.0.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for pybluedot-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb29e45e090223373c4b86566221b5991a88b1b86137a58baadb82343162363f |
|
MD5 | 6f5ffc95c53b50443da8765c3c4c692f |
|
BLAKE2b-256 | f612eaaa347302ee73c9c6055b27f4ed7c1da84bfddc349b7e409ee289b2a1c8 |