Matrix.org stickers example scripts
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.md
mx.py
stickers.py

README.md

matrix-stickers-example

Matrix.org stickers example scripts

This script is useful to understand the matrix.org widget API and matrix.org stickers. It's a simple python scripts using requests so you can view how to build the http request to list the sticker groups and to purchase one.

The stickers.py script is an example of the matrix.org widgets API for stickers. This script does the login to matrix and then register with the scalar.vector.im.

List all the stickers groups and then tries to purchase the stickman one.

After that list again all the stickers group and all image names for the purchased one.

To test you should edit the stickers.py file and set a valid matrix.org username and password.