basecamp-chatbot
Python library for Basecamp 3 Chatbot API
Installing / Supported Versions
This library is available on PyPI:
$ pip install basecamp_chatbot
The library officially supports Python 3.8+.
Command line usage
You can post a string or the contents of a file to your chatbot with the following commands:
$ bc_post_from_str <chatbot_url> <message>
$ bc_post_from_file <chatbot_url> <filepath>
Creating a chatbot
You must be an administrator of your Basecamp group in order to create a chatbot.
- Open the Basecamp chat you want to add a bot to.
- Click the options button (marked with an ellipsis) at the top right of the chat.
- Click on "Configure chatbots".
- Click "Add a new chatbot".
- You'll be asked to name the chatbot and optionally upload an avatar image.
Getting the chatbot URL
In the list of available chatbots, click on the text that says "Send line from this integration to Chat...".
This will display an example curl command for posting a new message to the chat for this bot. Copy the URL in the command. This is what you'll pass to the Chatbot initializer and the command line tools.
Metadata
Release files for basecamp-chatbot 2024.8.22.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| basecamp_chatbot-2024.8.22.4.tar.gz | 3.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| basecamp_chatbot-2024.8.22.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.5 kB
Release files / basecamp_chatbot-2024.8.22.4.tar.gz
| Download URL | basecamp_chatbot-2024.8.22.4.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4f51217eec2cf1461fbd96fbb3b04e3b1901cc1a766935c9d90f96aa93c109fd
|
|
BLAKE2b-256 checksum How to use checksums |
7b7365babf9159f2fe29e96bdfbf4c2a94acf39ddf80265a84d60628697cc0f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Release files / basecamp_chatbot-2024.8.22.4-py3-none-any.whl
| Download URL | basecamp_chatbot-2024.8.22.4-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fdf3406a7ab9e53b6f452b2dfc3f22c8caa4931ef4ccaf47167d4e593ac37054
|
|
BLAKE2b-256 checksum How to use checksums |
a443bd297a0e030ccbea6376bcebe0f38763a53630e2c1a51af7c3037cbecaf0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|