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.0.tar.gz
(4.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file botmaker-0.3.0.tar.gz.
File metadata
- Download URL: botmaker-0.3.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5d414988b1a40e59bbdbd45e34478ac43a9b4f1276efdb91d9c9b241ac70fca
|
|
| MD5 |
e1b7a0ee7b36a06efb9feee0b8b0e755
|
|
| BLAKE2b-256 |
05deb6efad5711c7f72fc18c36bacaff3322bc0e070e993ce7c0ad1b0cfa04c0
|
File details
Details for the file botmaker-0.3.0-py3-none-any.whl.
File metadata
- Download URL: botmaker-0.3.0-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24214eaf21aa69e3f9351b4d90c6a6e70147b5152137684cb3311d5debfb73ad
|
|
| MD5 |
5859cf0d81ff9678814fba8eb213e805
|
|
| BLAKE2b-256 |
94156566c6e9b69d989f7802c5d1bbf7325ad196e7b03d5986e0f81f7e112818
|