Requires Twitch developer account and oauth token. Instructions in code comments.
Only pulls your own followers as a simple example.
Added
pretty serial hierarchy view
general code cleanup and improvements
shouty constants to make Pylint happy.
Attempted to ensure it meets Circuit Python current syntax styling including changing everything to f-strings, using settings.toml, basic doc strings for functions, sorted imports.
Serial output example:
Connecting to WiFi...
✅ Wifi!
| Attempting Bearer Token Request!
| 🔑 Token Authorized!
| Token Expires in: 64.6 days
| Attempting to GET Twitch JSON!
| ✅ Twitch JSON!
| | Followers: 63
✂️ Disconnected from Twitch API
Finished!
Board Uptime: 5 hours
Next Update: 15 minutes
===============================
Requires Twitch developer account and oauth token. Instructions in code comments. Only pulls your own followers as a simple example.
Added
Attempted to ensure it meets Circuit Python current syntax styling including changing everything to f-strings, using settings.toml, basic doc strings for functions, sorted imports.
Serial output example: