Versions in this module Expand all Collapse all v0 v0.2.1 Dec 7, 2022 Changes in this version type StreamType + PresetPrefix string v0.2.0 Dec 7, 2022 v0.1.1 Nov 8, 2020 Changes in this version type Track + Playlist *Playlist v0.1.0 Nov 7, 2020 Changes in this version + const PlaylistPath + const TrackPath + const UserLikesPath + const UserPath + var HLSMP3 = StreamType + var Opus = StreamType + var ProgressiveMP3 = StreamType + func NewClientIDFromPublicHTML() (string, error) + type Client struct + func NewAutoIDClient() (*Client, error) + func NewClient(clientID string) *Client + func (c *Client) Playlist() *PlaylistService + func (c *Client) Track() *TrackService + func (c *Client) User(id string) *UserService + type Collection struct + CreatedAt time.Time + Playlist Playlist + Track Track + Type string + UUID string + User User + type CollectionQuery struct + Collection []Collection + NextHref string + QueryUrn interface{} + type Format struct + MimeType string + Protocol string + type Media struct + Transcodings []Transcodings + type PlayHistory struct + Collection []struct{ ... } + NextHref string + QueryUrn interface{} + type Playlist struct + ArtworkURL string + CreatedAt time.Time + Description interface{} + DisplayDate time.Time + Duration int + EmbeddableBy string + Genre string + ID int + IsAlbum bool + Kind string + LabelName interface{} + LastModified time.Time + License string + LikesCount int + ManagedByFeeds bool + Permalink string + PermalinkURL string + Public bool + PublishedAt time.Time + PurchaseTitle interface{} + PurchaseURL interface{} + ReleaseDate interface{} + RepostsCount int + SecretToken interface{} + SetType string + Sharing string + TagList string + Title string + TrackCount int + Tracks Tracks + URI string + User struct{ ... } + UserID int + type PlaylistService struct + func (ps *PlaylistService) FromURL(url string) (*PlaylistService, error) + func (ps *PlaylistService) Get() (*Playlist, error) + func (ps *PlaylistService) WithID(id string) *PlaylistService + func (s *PlaylistService) Limit(limit int) + func (s *PlaylistService) Offset(offset int) + type PlaylistsLikedOwned struct + Collection []Collection + NextHref string + QueryUrn interface{} + type PublisherMetadata struct + Artist string + ContainsMusic bool + ID int + Isrc string + Publisher string + Urn string + WriterComposer string + type StreamType struct + Preset string + Protocol string + type Track struct + ArtworkURL string + Caption interface{} + CommentCount int + Commentable bool + CreatedAt time.Time + Description string + DisplayDate time.Time + DownloadCount int + Downloadable bool + Duration int + EmbeddableBy string + FullDuration int + Genre string + HasDownloadsLeft bool + ID int + Kind string + LabelName interface{} + LastModified time.Time + License string + LikesCount int + Media struct{ ... } + MonetizationModel string + Permalink string + PermalinkURL string + PlaybackCount int + Policy string + Public bool + PublisherMetadata PublisherMetadata + PurchaseTitle string + PurchaseURL string + ReleaseDate time.Time + RepostsCount int + SecretToken interface{} + Sharing string + State string + Streamable bool + TagList string + Title string + URI string + Urn string + User struct{ ... } + UserID int + Visuals interface{} + WaveformURL string + type TrackService struct + func (s *TrackService) Limit(limit int) + func (s *TrackService) Offset(offset int) + func (s TrackService) Get(out interface{}) error + func (ts *TrackService) FromTrack(t *Track, fetch bool) (*TrackService, *Track, error) + func (ts *TrackService) FromURL(url string) (*TrackService, *Track, error) + func (ts *TrackService) Stream(st StreamType) (string, error) + func (ts *TrackService) WithID(id string) *TrackService + type Tracks []Track + type Transcodings struct + Duration int + Format Format + Preset string + Quality string + Snipped bool + URL string + type User struct + AvatarURL string + City interface{} + CommentsCount int + CountryCode interface{} + CreatedAt time.Time + CreatorSubscription struct{ ... } + CreatorSubscriptions []struct{ ... } + Description interface{} + FirstName string + FollowersCount int + FollowingsCount int + FullName string + GroupsCount int + ID int + Kind string + LastModified time.Time + LastName string + LikesCount int + Permalink string + PermalinkURL string + PlaylistCount int + PlaylistLikesCount int + RepostsCount interface{} + TrackCount int + URI string + Urn string + Username string + Verified bool + Visuals struct{ ... } + type UserService struct + func (us *UserService) Get() (*User, error) + func (us *UserService) Likes() (Tracks, error) + func (us *UserService) Limit(limit int) *UserService + func (us *UserService) Offset(offset int) *UserService + func (us *UserService) Playlists() ([]Playlist, error)