A minimalistic python wrapper for sending free sms via website way2sms.
$ pip install -U git+git://github.com/guptarohit/smspy.git
from smspy import Way2sms
w2s = Way2sms()
w2s.login(USERNAME, PASSWORD)
w2s.send(MOBILE_NUMBER, MESSAGE)
w2s.logout()
from smspy import Way2sms
w2s = Way2sms()
w2s.login(USERNAME, PASSWORD)
w2s.schedule(MOBILE_NUMBER, MESSAGE, DATE, TIME)
# DATE should be in format DD/MM/YYYY and TIME in 24h HH:mm
w2s.logout()
from smspy import Way2sms
w2s = Way2sms()
w2s.login(USERNAME, PASSWORD)
headers, data = w2s.history(DATE)
# DATE should be in format DD/MM/YYYY
print(headers, data)
w2s.logout()
from smspy import Way2sms
w2s = Way2sms()
w2s.login(USERNAME, PASSWORD)
headers, data = w2s.scheduled_messages(DATE)
# DATE should be in format DD/MM/YYYY
print(headers, data)
w2s.logout()
from smspy import Way2sms
w2s = Way2sms()
w2s.login(USERNAME, PASSWORD)
msgs_remaining=w2s.quota_left()
print(msgs_remaining)
w2s.logout()
Feel free to make a pull request!