Pre-release
This release is a pre-release and may not be stable for production use.
python-client
=============
Klient napisany w języku Python, pozwalający na wysyłanie wiadomości SMS, MMS, VMS oraz zarządzanie kontem w serwisie SMSAPI.pl
EXAMPLES:
```python
from smsapi.client import SmsAPI
from smsapi.responses import ApiError
api = SmsAPI()
api.set_username('YOUR USERNAME')
api.set_password('YOUR PASSWORD')
#sending SMS
try:
api.service('sms').action('send')
api.set_content('Hello [%1%] [%2%]')
api.set_params('name', 'last name')
api.set_to('60xxxxxxx')
api.set_from('Info') #Pole nadawcy lub typ wiadomość 'ECO', '2Way'
result = api.execute()
for r in result:
print r.id, r.points, r.status
except ApiError, e:
print '%s - %s' % (e.code, e.message)
```
## LICENSE
[Apache 2.0 License](https://github.com/smsapi/smsapi-python-client/blob/master/LICENSE)
=============
Klient napisany w języku Python, pozwalający na wysyłanie wiadomości SMS, MMS, VMS oraz zarządzanie kontem w serwisie SMSAPI.pl
EXAMPLES:
```python
from smsapi.client import SmsAPI
from smsapi.responses import ApiError
api = SmsAPI()
api.set_username('YOUR USERNAME')
api.set_password('YOUR PASSWORD')
#sending SMS
try:
api.service('sms').action('send')
api.set_content('Hello [%1%] [%2%]')
api.set_params('name', 'last name')
api.set_to('60xxxxxxx')
api.set_from('Info') #Pole nadawcy lub typ wiadomość 'ECO', '2Way'
result = api.execute()
for r in result:
print r.id, r.points, r.status
except ApiError, e:
print '%s - %s' % (e.code, e.message)
```
## LICENSE
[Apache 2.0 License](https://github.com/smsapi/smsapi-python-client/blob/master/LICENSE)
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file smsapi-pozytywnie-1.0-beta3.tar.gz.
File metadata
- Download URL: smsapi-pozytywnie-1.0-beta3.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32b26318650d4631fc58e960842dd7a4fd07fa39875ed42d8dbd3b7778c4d4ea
|
|
| MD5 |
80212d7d64fbf869918ab38bcad12f97
|
|
| BLAKE2b-256 |
1d8fbc8a95e3477c8d9bd9ec84b02467e800c7e6b1758b08390e989cec0a7f07
|