This project is just a simple template for those who wanted to start using the Streamlab API but with Python.
The code is largely based off the Node.js example provided by Streamlabs over here.
It is recommended to read up on the documentation first before diving in.
Requirements/Modules used:
- Python >= 3.6
- Flask
- python-dotenv
- sqlite3
- requests
Setup:
- Install all requirements stated above.
- Register your new application on https://streamlabs.com/dashboard
- Rename ".env.template" to ".env"
- Open the .env file and insert the relevant credentials
- Run the project and navigate to http://localhost:8080