Skip to main content

Python library for manage SmsApi account via HTTP/S

Project description


Klient napisany w języku Python, pozwalający na wysyłanie wiadomości SMS, MMS, VMS oraz zarządzanie kontem w serwisie

from smsapi.client import SmsAPI
from smsapi.responses import ApiError

api = SmsAPI()

api.set_username('YOUR USERNAME')
api.set_password('YOUR PASSWORD')

#sending SMS

api.set_content('Hello [%1%] [%2%]')
api.set_params('name', 'last name')
api.set_from('Info') #Pole nadawcy lub typ wiadomość 'ECO', '2Way'

result = api.execute()

for r in result:
print, r.points, r.status

except ApiError, e:
print '%s - %s' % (e.code, e.message)

[Apache 2.0 License](

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

smsapi-pozytywnie-1.0-beta3.tar.gz (10.0 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page