zedshaw.games/NOTES.md

13 lines
742 B
Markdown

* Watch out for the multiple auth methods, app token preferred.
* When you generate the app token there's a few things that get you with the permissions.
* Research the Twitch scopes to see what I need, but sound like possibly need the OAuth level.
* It uses scopes + auth.
* When you use websocket notifications you still have to use http to setup notifications.
* Mock server: https://dev.twitch.tv/docs/cli/mock-api-command/
* CLI https://dev.twitch.tv/docs/cli/
* go get -tool github.com/twitchdev/twitch-cli
* https://github.com/twitchdev/twitch-cli
* go tool twitch-cli mock-api start -p 8081
* https://dev.twitch.tv/docs/cli/mock-api-command/
* curl.exe http://127.0.0.1:8081/units/clients
* curl.exe http://127.0.0.1:8081/units/users