Feat twitch livestreams (#334)

* backend code

* fixed twitch authentication
This commit is contained in:
Marco Piovanello
2025-08-25 12:54:16 +02:00
committed by GitHub
parent 14a03d6a77
commit f4a0f688af
9 changed files with 440 additions and 14 deletions

20
server/twitch/types.go Normal file
View File

@@ -0,0 +1,20 @@
package twitch
import "time"
type StreamInfo struct {
ID string
UserName string
Title string
GameName string
StartedAt time.Time
IsLive bool
}
type VodInfo struct {
ID string
Title string
URL string
Duration string
CreatedAt time.Time
}