# BotMaker client library
[](https://travis-ci.com/cuenca-mx/botmaker-python)
[](https://coveralls.io/github/cuenca-mx/botmaker-python?branch=master)
[](https://pypi.org/project/botmaker/)
## Installation
```bash
pip install botmaker
```
## Run tests
```bash
make venv
source venv/bin/activate
export BOTMAKER_ACCESS_TOKEN={access_token}
make test
```
## Release to PyPi
```bash
pip install -U setuptools wheel twine
make release
# PyPi will prompt you to log in
```
## Usage
### Send a message based on an existing template
```python
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'
)
```
Raw data
{
"_id": null,
"home_page": "https://github.com/cuenca-mx/botmaker-python",
"name": "botmaker",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "",
"author": "Cuenca",
"author_email": "dev@cuenca.com",
"download_url": "https://files.pythonhosted.org/packages/36/48/f7746c12b42b5bfbf6ad5c827e08b5bb8127aadae672020ed1c4b8f357f2/botmaker-0.3.5.tar.gz",
"platform": null,
"description": "# BotMaker client library\n\n[](https://travis-ci.com/cuenca-mx/botmaker-python)\n[](https://coveralls.io/github/cuenca-mx/botmaker-python?branch=master)\n[](https://pypi.org/project/botmaker/)\n\n\n## Installation\n\n```bash\npip install botmaker\n```\n\n## Run tests\n\n```bash\nmake venv\nsource venv/bin/activate\nexport BOTMAKER_ACCESS_TOKEN={access_token}\nmake test\n```\n\n## Release to PyPi\n\n```bash\npip install -U setuptools wheel twine\nmake release\n# PyPi will prompt you to log in\n```\n\n## Usage\n\n### Send a message based on an existing template\n\n```python\nimport botmaker\n\n\nclient = botmaker.Client() # Will use the env var BOTMAKER_ACCESS_TOKEN\n\n# Send from '5215500000000' to '5215522222222'\nclient.template_messages.create(\n '5215500000000', '5215522222222',\n 'template_name', template_param1='x', template_param2='y'\n)\n```\n\n\n",
"bugtrack_url": null,
"license": "",
"summary": "BotMaker API Client",
"version": "0.3.5",
"project_urls": {
"Homepage": "https://github.com/cuenca-mx/botmaker-python"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "8a1081ac2b69abb56b3f0f2639548b1e83916faffd110664cc574a84bb52fc1d",
"md5": "8ccb1b0f2c4771dd900939e29b0be7f7",
"sha256": "37fa063e12a31346e70d207d376ad534aba3834c90ca736b9a6745dcdd40ffa4"
},
"downloads": -1,
"filename": "botmaker-0.3.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8ccb1b0f2c4771dd900939e29b0be7f7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 10166,
"upload_time": "2022-03-23T18:44:31",
"upload_time_iso_8601": "2022-03-23T18:44:31.026223Z",
"url": "https://files.pythonhosted.org/packages/8a/10/81ac2b69abb56b3f0f2639548b1e83916faffd110664cc574a84bb52fc1d/botmaker-0.3.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3648f7746c12b42b5bfbf6ad5c827e08b5bb8127aadae672020ed1c4b8f357f2",
"md5": "9825cd3157720d7ab0b693a2579fd841",
"sha256": "e0de7d354e460f5d5fd58f082df0973e860dc8f86340d5773c7b8dea20eaf32b"
},
"downloads": -1,
"filename": "botmaker-0.3.5.tar.gz",
"has_sig": false,
"md5_digest": "9825cd3157720d7ab0b693a2579fd841",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 5366,
"upload_time": "2022-03-23T18:44:33",
"upload_time_iso_8601": "2022-03-23T18:44:33.120338Z",
"url": "https://files.pythonhosted.org/packages/36/48/f7746c12b42b5bfbf6ad5c827e08b5bb8127aadae672020ed1c4b8f357f2/botmaker-0.3.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-03-23 18:44:33",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "cuenca-mx",
"github_project": "botmaker-python",
"travis_ci": true,
"coveralls": false,
"github_actions": false,
"lcname": "botmaker"
}