Versions in this module Expand all Collapse all v0 v0.1.0 Jan 2, 2019 Changes in this version + type Client struct + func NewClient(username, apiKey, team string) *Client + func (c *Client) CreateLanguage(videoID, langCode string) (*Language, error) + func (c *Client) CreateSubtitles(videoID, langCode, format string, params url.Values) (*Subtitles, error) + func (c *Client) CreateVideo(params url.Values) (*Video, error) + func (c *Client) EditorLogin(videoID, langCode, userName string) (*EditorLoginSession, error) + func (c *Client) GetLanguage(videoID, langCode string) (*Language, error) + func (c *Client) GetSubtitles(videoID, langCode string, captionFormat string) (*Subtitles, error) + func (c *Client) GetVideo(id string) (*Video, error) + func (c *Client) UpdateLanguage(videoID, langCode string, complete bool) (*Language, error) + type EditorLoginSession struct + URL string + type Language struct + Created time.Time + Description string + ID int + IsOriginal bool + IsPrimaryAudioLanguage bool + IsRtl bool + IsTranslation bool + LanguageCode string + Metadata struct{ ... } + Name string + NumVersions int + OriginalLanguageCode interface{} + Published bool + ResourceURI string + SubtitleCount int + SubtitlesComplete bool + SubtitlesURI string + Title string + Versions []struct{ ... } + type Subtitles struct + ActionsURI string + Author struct{ ... } + Description string + Language struct{ ... } + Metadata struct{ ... } + NotesURI string + ResourceURI string + SiteURI string + SubFormat string + Subtitles string + Title string + VersionNo int + VersionNumber int + Video string + VideoDescription string + VideoTitle string + type Video struct + ActivityURI string + AllUrls []string + Created time.Time + Description string + Duration int + ID string + Languages []struct{ ... } + Metadata struct{ ... } + OriginalLanguage string + PrimaryAudioLanguageCode string + Project interface{} + ResourceURI string + SubtitleLanguagesURI string + Team interface{} + TeamType interface{} + Thumbnail string + Title string + UrlsURI string + VideoType string