Here are some Twitch API examples you can try. And the source for those examples
Most of this examples will prompt for Twitch Auth to get a Token to use to call the API with
Generally those Authentication Links will open a new window, which oAuth Redirect URI's to this window, which will extract the oAuth Access Token from the URL and magic pass it to the original window
Auth Type Things | ||
---|---|---|
How to Implicit auth | Source | For Client Side apps/websites |
Token Checker and Killer | Source | Validate Tokens and revoke them, handy if you find stuff in the wild that shouldn't be there! |
Examply Things | ||
Building a clone of the Directory view | Source | Pretty simple, shows how to "chain" API's together |
Some Calendar/Schedule Stuff | Source | |
Channel Information Widget | Source | |
Team Page | Source | A clone of the team page, rougly, for showing how/where to get various data from |
Player Things | ||
A VOD Player that Skips Muted Segments | Source | Enough Said it plays VOD's |
Twitch Player/parent | Source | Implements most of the Embed JS player functions for test/example purposes |
Twitch Player on Google Sites | Source | A demo of how to do Players on Google Sites as they have nested iFrames and a dynamic URL on one of them... |
Streamer Tool Type Things | ||
Near Clone of the Dashboard | Source | The Dashboard core parts (edit stream info) but via the API |
Simple Poll Tool/Results Display | Source | A simple tool to create a poll and monitor the results |
Simple Channel Points Manager | Source | A simple tool to manage rewards |
Simple UnBan Requests Manager | Source | A simple tool to manage unban requests |
Get my Stream Key | Source | A simple demo to auth the user and show the user their own stream key. |
Clips Navigator | Source | A simple demo fetch and display clips using started_at and ended_at parameters. |
TwitchEmotes | Source | |
Guest Star | ||
Guest Star Controller | Source | WIP implementation of the Guest Star API/EventSub. Uses EventSub Websockets for real time updates. |
Guest Star OBS Setup Assistant | Source | |
EventSub WebSocket Transport Things | ||
The Basics | Source | A basic EventSub WebSocket connector |
The Chat Topics | Source | Testing the new Chat Topics |
Notes about how Authentication works for Chat over EventSub Found Here | ||
An Activity Feed | Source | Processing chat.notif and chat.message to build an activity feed |
Creator Goals EventSub WebSocket | Source | A EventSub WebSocket CreatorGoals Example |
Charity EventSub WebSocket | Source | A EventSub WebSocket Charity Example |
Simple Poll Tool/Results Display | Source | A simple tool to create a poll and monitor the results via EventSub WebSocket. |
Extension Type Things | ||
Extensions Config Tool | Source | A replacement for the Rig's tool - desktop version |
For further help checkout the Repo or Join us on Discord