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.6.dev4.tar.gz
(5.9 kB
view details)
Built Distribution
File details
Details for the file botmaker-0.3.6.dev4.tar.gz
.
File metadata
- Download URL: botmaker-0.3.6.dev4.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7240a9ddd5ad8ff4720e68211b8e68483f0e1b2520d8fb0720e93f18e28d2918 |
|
MD5 | df9772aaa062d66cc06ca577835c4042 |
|
BLAKE2b-256 | d0e82aebc45f861554e2c52a330e3c04821399a927aac848636c7896279a0994 |
File details
Details for the file botmaker-0.3.6.dev4-py3-none-any.whl
.
File metadata
- Download URL: botmaker-0.3.6.dev4-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b2c80dba8215e77b774334e664c1a29bebbbea8c67d2d580edb7036b3d0a5a3 |
|
MD5 | 9faeb2468bb55a958a98e48318c8558b |
|
BLAKE2b-256 | 1e87bf488be3b5c8f45e2b5967886445101378edc7967dcd4c942f85698d57a1 |