1. sdolan
  2. python-data247



python-data247 is a library around the www.data24-7.com SMS api.

The base API required BeautifulSoup

sudo easy_install BeautifulSoup

Nose is required to run the test suite:

sudo easy_install nose

The simplest use case it to run the script from the command line. For example:

python api.py -u YOUR_USERNAME -p YOUR_PASSWORD -n 5555551234,5555552222

which will output:

RESPONSE (https://api.data24-7.com/textat.php?username=YOUR_USERNAME&password=YOUR_PASSWORD&p1=5555551234&p2=5555552222):
Current Balance: $2.186

Phone List:

Status: OK Number: +15555551234 Wireless?: True Carrier: 5 - Verizon Wireless SMS Email: 5555551234@vtext.com MMS Email: 5555551234@vzwpix.com

Status: OK Number: +15555552222 Wireless?: False Carrier: 50167 - Verizon Virginia, Inc. - VA SMS Email: None MMS Email: None


Sam Dolan