Session:Matrix Python Chatbot Workshop

From 36C3 Wiki
Subtitle Intro to the Client-Server API
Starts at 2019/12/28 17:00
Ends at 2019/12/28 18:30
Duration 90 minutes
Location Assembly:Matrix

Matrix is an open standard for interoperable, decentralised, real-time communication over the Internet. It can be used to power Instant Messaging, VoIP/WebRTC signalling, Internet of Things communication - or anywhere you need a standard HTTP API for publishing and subscribing to data whilst tracking the conversation history.

There are Python SDKs available for interfacing with Matrix as a client (that is, doing things a client application or bot would do, such as sending and receiving messages.) In this workshop you will investigate how to interact with the Matrix platform, first using curl HTTP calls, then using Python. You will use the Matrix Python SDK to read messages, and extract their contents.