Skip to content
This repository was archived by the owner on Feb 24, 2026. It is now read-only.

Latest commit

 

History

History
30 lines (22 loc) · 975 Bytes

File metadata and controls

30 lines (22 loc) · 975 Bytes

Warning

This project is archived and no longer maintained. It is no longer in use within our team. No further development, bug fixes, or support will be provided. Feel free to fork if you need to continue development.

python-gsmsapi

Python SMS API for some (german) SMS providers

Currently supported providers:

#Examples

import gsmsapi.sipgate_api
import gsmsapi.smstrade_api

username = "foo"
password = "bar
api = gsmsapi.sipgate_api.SipgateAPI(username, password, "team")  # for Sipgate Team accounts
print "Current Sipgate Balance is", api.get_balance()
api.sendsms("49123456789", "Testmessage")

key = "foobar"
api = gsmsapi.smstrade_api.SMSTradeAPI(key, "012345678900", route="gold", debug=False)  # 012345678900 is sender
print "Current SMSTrade Balance is", api.get_balance()
api.send_sms("012345678999", "Testmessage")