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.1.tar.gz
(2.8 kB
view details)
Built Distribution
File details
Details for the file pybluedot-0.2.1.tar.gz
.
File metadata
- Download URL: pybluedot-0.2.1.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5920e3c3ea0e315a8997380802870d486e21fc4f70981caefef9548c0b54213d |
|
MD5 | 8a5591033578d296ee941353d3894f8b |
|
BLAKE2b-256 | bbdd4cbfb5c438e5a05fdc40c93747fc10321f859b1e3a5354da96691bba7094 |
File details
Details for the file pybluedot-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: pybluedot-0.2.1-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72f31deb11a605d2c7bcc96fbc976ca2b7852f02712150930d2de6b11f26d999 |
|
MD5 | 281e41a6be5dc180288129aa2100b99e |
|
BLAKE2b-256 | 8a18095d2dcc973a4549e6e324b09ab0e78e39efe015a67c5525f257a71f9d73 |