[How To] Building a Simple Webex Chatbot with Python Websockets & OpenWeather APIs



[How To] Building a Simple Webex Chatbot with Python Websockets & OpenWeather APIs

[How To] Building a Simple Webex Chatbot with Python Websockets & OpenWeather APIs

In this video, we’ll explore one method of creating a quick & easy Webex chatbot using Python websockets & OpenWeatherMap.org. First, we take a quick look at the differences between using webhooks vs websockets for communicating with the Webex Cloud. Then, we’ll walk through how to create your first Webex chatbot. In the example, we will create a Webex chatbot that can be asked to provide the current weather for a given ZIP code.

Link to the webex_bot module: https://github.com/fbradyirl/webex_bot

Additional details in the blog: https://0x2142.com/how-to-building-a-basic-webex-chatbot?utm_source=YouTube&utm_campaign=WebexChatBot

Example code from the demo: https://github.com/0x2142/example-scripts/tree/master/simple-webex-chatbot

Links / Follow me elsewhere:
– Blog: https://0x2142.com
– Twitter: https://twitter.com/0x2142
– Mastodon/Fediverse: @[email protected]
– GitHub: https://github.com/0x2142

If this video was helpful to you, please consider subscribing & sharing! Please leave a comment if you would like similar content! Thank you!!!

Thanks for watching!
– Matt

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Chapters:
0:00 – Webhooks vs Websockets
3:34 – Generating Webex API Keys
5:41 – Quick Look at webex_bot Python module
6:12 – Installing webex_bot & Storing API Key
6:42 – Writing the Base Bot Code
7:48 – Starting Bot & Testing
9:40 – Adding Custom Commands to Bot
13:06 – Testing Custom Command
13:58 – Quick Look at OpenWeatherMap.org APIs
14:58 – Adding Weather Query Command to Bot
16:46 – Testing Weather Query Bot

Standard Disclaimer: Any comments / opinions here are my own, and do not represent my current or former employers.

Comments are closed.