BotMaker API Client
Project description
BotMaker client library
Installation
pip install botmaker
Run tests
make venv
source venv/bin/activate
export BOTMAKER_ACCESS_TOKEN={access_token}
make test
Release to PyPi
pip install -U setuptools wheel twine
make release
# PyPi will prompt you to log in
Usage
Send a message based on an existing template
import botmaker
client = botmaker.Client() # Will use the env var BOTMAKER_ACCESS_TOKEN
# Send from '5215500000000' to '5215522222222'
client.template_messages.create(
'5215500000000', '5215522222222',
'template_name', template_param1='x', template_param2='y'
)
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
botmaker-0.3.5.tar.gz
(5.4 kB
view details)
Built Distribution
botmaker-0.3.5-py3-none-any.whl
(10.2 kB
view details)
File details
Details for the file botmaker-0.3.5.tar.gz
.
File metadata
- Download URL: botmaker-0.3.5.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.2.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0de7d354e460f5d5fd58f082df0973e860dc8f86340d5773c7b8dea20eaf32b |
|
MD5 | 9825cd3157720d7ab0b693a2579fd841 |
|
BLAKE2b-256 | 3648f7746c12b42b5bfbf6ad5c827e08b5bb8127aadae672020ed1c4b8f357f2 |
File details
Details for the file botmaker-0.3.5-py3-none-any.whl
.
File metadata
- Download URL: botmaker-0.3.5-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.2.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37fa063e12a31346e70d207d376ad534aba3834c90ca736b9a6745dcdd40ffa4 |
|
MD5 | 8ccb1b0f2c4771dd900939e29b0be7f7 |
|
BLAKE2b-256 | 8a1081ac2b69abb56b3f0f2639548b1e83916faffd110664cc574a84bb52fc1d |