Skip to content

Example Webex bot that outputs a static ASCII table

Notifications You must be signed in to change notification settings

satchm0h/table_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Table Webex Bot

This is an example webex bot that just outputs an ASCII formatted text table.

This repo can be used to scaffold a very basic webex bot that leverages the awesome webex_bot python framework that leverages the web sockets Webex API.

Configuration

Environment Variables

export WEBEX_TEAMS_ACCESS_TOKEN=XXX
export WEBEX_EMAIL=<your email>

Config File

As an alternative to definfing the environment variables you can instead define a YAML config file at ~/.table_bot.yml with the following contents

webex_email: <YOUR EMAIL ADDRESS HERE>
webex_token: <YOUR WEBEX TOKEN HERE>

Running the Bot

Install Dependencues

# Recommended to first create and use a virtual environment before running the following:
pip install -r requirements.txt

Run the script

python3 bot.py

About

Example Webex bot that outputs a static ASCII table

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages