Botmaker API客户端
botmaker的Python项目详细描述
Botmaker客户端库
安装
pip install botmaker
运行测试
make venv source venv/bin/activate exportBOTMAKER_ACCESS_TOKEN={access_token} make test
发布到pypi
pip install -U setuptools wheel twine
make release
# PyPi will prompt you to log in
用法
< H3>基于现有模板EH3>发送消息importbotmakerclient=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')