How to use the Bot Libre python SDK |
The Bot Libre python SDK allows you to easily integrate Bot Libre with a python application. Through the SDK you can connect to your bots on Bot Libre, send messages, and train and configure your bots. You can also access Bot Libre analytics and AI services, and other content. Setting up Python for both Windows and LinuxInstalling Windows Version
Installing pip on Windows:Download the Run the get-pip.py script to install pip: After installation is complete, verify that pip is installed by running: Linux Version
Installing pip on Linux:Installing pip using the package manager: After installation is complete, verify that pip is installed by running: Installing the requests and requests-toolbelt librariesBefore running this project, make sure you have Python, Installing requests libraryYou can install the Installing requests-toolbelt
You also need to install the requests-toolbelt library to simplify multipart encoding and file upload operations. Clone python SDK:Clone the Bot Libre python SDK by clicking on this link: https://github.com/BotLibre/BotLibre/tree/master/sdk/python. UsageTo run the application, please ensure that you are in the same directory where you have cloned the SDK. Then, use the following command from the command line: |
|
|
|
|