Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Authenticate ¶
func Authenticate() error
Types ¶
type AuthTokenResponse ¶
type Channel ¶
type Channel struct { ID string `json:"id"` Login string `json:"login"` DisplayName string `json:"display_name"` Type string `json:"type"` BroadcasterType string `json:"broadcaster_type"` Description string `json:"description"` ProfileImageURL string `json:"profile_image_url"` OfflineImageURL string `json:"offline_image_url"` ViewCount int64 `json:"view_count"` CreatedAt string `json:"created_at"` }
type ChannelResponse ¶
type ChannelResponse struct {
Data []Channel `json:"data"`
}
type Live ¶
type Live struct { ID string `json:"id"` UserID string `json:"user_id"` UserLogin string `json:"user_login"` UserName string `json:"user_name"` GameID string `json:"game_id"` GameName string `json:"game_name"` Type string `json:"type"` Title string `json:"title"` ViewerCount int64 `json:"viewer_count"` StartedAt string `json:"started_at"` Language string `json:"language"` ThumbnailURL string `json:"thumbnail_url"` TagIDS []string `json:"tag_ids"` IsMature bool `json:"is_mature"` }
type Pagination ¶
type Pagination struct { }
type Stream ¶
type Stream struct { Data []Live `json:"data"` Pagination Pagination `json:"pagination"` }
type Vod ¶
type Vod struct { ID string `json:"id"` StreamID string `json:"stream_id"` UserID string `json:"user_id"` UserLogin string `json:"user_login"` UserName string `json:"user_name"` Title string `json:"title"` Description string `json:"description"` CreatedAt string `json:"created_at"` PublishedAt string `json:"published_at"` URL string `json:"url"` ThumbnailURL string `json:"thumbnail_url"` Viewable string `json:"viewable"` ViewCount int64 `json:"view_count"` Language string `json:"language"` Type string `json:"type"` Duration string `json:"duration"` MutedSegments interface{} `json:"muted_segments"` }
type VodResponse ¶
type VodResponse struct { Data []Vod `json:"data"` Pagination Pagination `json:"pagination"` }
Click to show internal directories.
Click to hide internal directories.