Unofficial SMS Teknik client
Project description
# SMSTeknik
Unofficial client for [smsteknik](http://smsteknik.se)
# Commandline
usage: smsteknik [-h] [-t TO] [-m MESSAGE] [-c CONFIG]
Send SMS
optional arguments:
-h, --help show this help message and exit
-t TO, --to TO recipients
-m MESSAGE, --message MESSAGE
Text to send
-c CONFIG, --config CONFIG
Configuration file
## Example CLI
```bash
smsteknik --to '0700000000' --message 'Hello!'
```
## Example code
```python
client = SMSTeknikClient(id=..., user=..., password=..., ...)
client.send(['+4673XXXXXXX', '+46707XXXXXX'], 'Hello Wörld!')
```
# Configuration format
```ini
[SMS Teknik]
# Required login fields
id=My Company
user=smsAbc123
password=def456
# Sender shown to recipient
# Max 11 alphanumerics or 15 numbers
#smssender=My Company
# Delivery report
# off (Default)
# email
# get HTTP GET
# post HTTP POST
# xml HTTP XML
#deliverystatustype=off
# URL or email
#deliverystatusaddress=smsteknik-delivery@example.com
# Allow splitting long SMS (>160 chars)
# 0 = Off
# 1 = On (Default)
#multisms=1
# Custom API URL
#url=https://www.smsteknik.se/Member/SMSConnectDirect/SendSMSv3.asp
# Reply (Additional service needed from SMS Teknik)
#usereplynumber=0
#usereplyforwardtype=0
#usereplyforwardurl=
```
# Generate code documentation
sphinx-build -b html docs docs/_build/smsteknik
Unofficial client for [smsteknik](http://smsteknik.se)
# Commandline
usage: smsteknik [-h] [-t TO] [-m MESSAGE] [-c CONFIG]
Send SMS
optional arguments:
-h, --help show this help message and exit
-t TO, --to TO recipients
-m MESSAGE, --message MESSAGE
Text to send
-c CONFIG, --config CONFIG
Configuration file
## Example CLI
```bash
smsteknik --to '0700000000' --message 'Hello!'
```
## Example code
```python
client = SMSTeknikClient(id=..., user=..., password=..., ...)
client.send(['+4673XXXXXXX', '+46707XXXXXX'], 'Hello Wörld!')
```
# Configuration format
```ini
[SMS Teknik]
# Required login fields
id=My Company
user=smsAbc123
password=def456
# Sender shown to recipient
# Max 11 alphanumerics or 15 numbers
#smssender=My Company
# Delivery report
# off (Default)
# get HTTP GET
# post HTTP POST
# xml HTTP XML
#deliverystatustype=off
# URL or email
#deliverystatusaddress=smsteknik-delivery@example.com
# Allow splitting long SMS (>160 chars)
# 0 = Off
# 1 = On (Default)
#multisms=1
# Custom API URL
#url=https://www.smsteknik.se/Member/SMSConnectDirect/SendSMSv3.asp
# Reply (Additional service needed from SMS Teknik)
#usereplynumber=0
#usereplyforwardtype=0
#usereplyforwardurl=
```
# Generate code documentation
sphinx-build -b html docs docs/_build/smsteknik
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cts-smsteknik-1.0.6.tar.gz
(5.4 kB
view hashes)
Built Distribution
Close
Hashes for cts_smsteknik-1.0.6-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c83c396ee2aa76f6f112228f4b113314f5b593154a4ac1817bd7de65da1de6e4 |
|
MD5 | f62daf1d97ffa5e2b6d1856b22c672a8 |
|
BLAKE2b-256 | f92b8a04e48182c601c583a800c6c64df31448d4acf5e20476e94dfc7bebe52a |