Skip to main content

BotMaker API Client

Project description

BotMaker client library

Build Status Coverage Status PyPI

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


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.1.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

botmaker-0.3.1-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file botmaker-0.3.1.tar.gz.

File metadata

  • Download URL: botmaker-0.3.1.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.2

File hashes

Hashes for botmaker-0.3.1.tar.gz
Algorithm Hash digest
SHA256 9f9ebea5c5259ffb2550be5434e50bd917ea3e7fb851ee97f90c756c1a88f7b6
MD5 ef382c5f93c162e71e44690dab97d57a
BLAKE2b-256 20f523bab67c2c15384757a580989aa7678492838401d9695a4259b44ba07f26

See more details on using hashes here.

File details

Details for the file botmaker-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: botmaker-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.2

File hashes

Hashes for botmaker-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 27bf07d932e01ff1b00ea004712d3450b09398078d779025897ef04763788d06
MD5 4c8a95ab0a22ef0a0a5bd755882513a2
BLAKE2b-256 f9e9cd4b23607757565642d22e8a48983b49b632ce7ea1686025a46dffb4cb31

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page