Documentation
ΒΆ
Index ΒΆ
- type Album
- type AlbumService
- type Albums
- type Artist
- type ArtistService
- func (s *ArtistService) Get(ID string) (*Artist, error)
- func (s *ArtistService) GetAlbums(ID string) (*Albums, error)
- func (s *ArtistService) GetComments(ID string) (*Comments, error)
- func (s *ArtistService) GetFans(ID string) (*Fans, error)
- func (s *ArtistService) GetPlaylists(ID string) (*Playlists, error)
- func (s *ArtistService) GetRadio(ID string) (*Radio, error)
- func (s *ArtistService) GetRelated(ID string) (*Related, error)
- func (s *ArtistService) GetTopFive(ID string) (*Top, error)
- type Artists
- type ChartService
- type Client
- type Comment
- type CommentService
- type Comments
- type Contributor
- type EditorialService
- type Fans
- type Genre
- type GenreService
- type Genres
- type InfosService
- type OptionsService
- type Playlist
- type PlaylistService
- type Playlists
- type Radio
- type RadioService
- type Related
- type SearchService
- type Top
- type Track
- type TrackService
- type Tracks
- type User
- type UserService
Constants ΒΆ
This section is empty.
Variables ΒΆ
This section is empty.
Functions ΒΆ
This section is empty.
Types ΒΆ
type Album ΒΆ
type Album struct { ID int `json:"id,omitempty"` Title string `json:"title,omitempty"` UPC string `json:"upc,omitempty"` Link string `json:"link,omitempty"` Cover string `json:"cover,omitempty"` CoverSmall string `json:"cover_small,omitempty"` CoverMedium string `json:"cover_medium,omitempty"` CoverBig string `json:"cover_big,omitempty"` CoverXL string `json:"cover_xl,omitempty"` GenreID int `json:"genre_id,omitempty"` Genres *struct { Data []Genre `json:"data,omitempty"` } `json:"genres,omitempty"` Label string `json:"label,omitempty"` NbTracks int `json:"nb_tracks,omitempty"` Duration int `json:"duration,omitempty"` Fans int `json:"fans,omitempty"` Rating int `json:"rating,omitempty"` ReleaseDate string `json:"release_date,omitempty"` RecordType string `json:"record_type,omitempty"` Available bool `json:"available,omitempty"` TrackList string `json:"tracklist,omitempty"` ExplicitLyrics bool `json:"explicit_lyrics,omitempty"` ExplicitContentLyrics int `json:"explicit_content_lyrics,omitempty"` ExplicitContentCover int `json:"explicit_content_cover,omitempty"` Contributors []Artist `json:"contributors,omitempty"` Artist *Artist `json:"artist,omitempty"` Type string `json:"type,omitempty"` Tracks *struct { Data []Track `json:"data,omitempty"` } `json:"tracks,omitempty"` }
type AlbumService ΒΆ
type AlbumService service
func (*AlbumService) GetComments ΒΆ
func (s *AlbumService) GetComments(ID string) (*Comments, error)
type Artist ΒΆ
type Artist struct { ID int `json:"id,omitempty"` Name string `json:"name,omitempty"` Link string `json:"link,omitempty"` Picture string `json:"picture,omitempty"` PictureSmall string `json:"picture_small,omitempty"` PictureMedium string `json:"picture_medium,omitempty"` PictureBig string `json:"picture_big,omitempty"` PictureXl string `json:"picture_xl,omitempty"` NbAlbum int `json:"nb_album,omitempty"` NbFan int `json:"nb_fan,omitempty"` Radio bool `json:"radio,omitempty"` TrackList string `json:"tracklist,omitempty"` Type string `json:"type,omitempty"` }
type ArtistService ΒΆ
type ArtistService service
func (*ArtistService) GetComments ΒΆ
func (s *ArtistService) GetComments(ID string) (*Comments, error)
func (*ArtistService) GetPlaylists ΒΆ
func (s *ArtistService) GetPlaylists(ID string) (*Playlists, error)
func (*ArtistService) GetRelated ΒΆ
func (s *ArtistService) GetRelated(ID string) (*Related, error)
func (*ArtistService) GetTopFive ΒΆ
func (s *ArtistService) GetTopFive(ID string) (*Top, error)
type ChartService ΒΆ
type ChartService service
func (*ChartService) Get ΒΆ
func (s *ChartService) Get()
func (*ChartService) GetAlbums ΒΆ
func (s *ChartService) GetAlbums() (*Albums, error)
func (*ChartService) GetArtists ΒΆ
func (s *ChartService) GetArtists() (*Artists, error)
func (*ChartService) GetPlaylists ΒΆ
func (s *ChartService) GetPlaylists() (*Playlists, error)
func (*ChartService) GetTracks ΒΆ
func (s *ChartService) GetTracks() (*Tracks, error)
type Client ΒΆ
type Client struct { Album *AlbumService Artist *ArtistService Chart *ChartService Comment *CommentService Editorial *EditorialService Genre *GenreService Infos *InfosService Options *OptionsService Playlist *PlaylistService Radio *RadioService Search *SearchService Track *TrackService User *UserService // contains filtered or unexported fields }
type CommentService ΒΆ
type CommentService service
type Contributor ΒΆ
type Contributor struct { ID int `json:"id,omitempty"` Name string `json:"name,omitempty"` Link string `json:"link,omitempty"` Picture string `json:"picture,omitempty"` PictureSmall string `json:"picture_small,omitempty"` PictureMedium string `json:"picture_medium,omitempty"` PictureBig string `json:"picture_big,omitempty"` PictureXL string `json:"picture_xl,omitempty"` Radio bool `json:"radio,omitempty"` TrackList string `json:"tracklist,omitempty"` Type string `json:"type,omitempty"` Role string `json:"role,omitempty"` }
type EditorialService ΒΆ
type EditorialService service
type Genre ΒΆ
type Genre struct { ID int `json:"id,omitempty"` Name string `json:"name,omitempty"` Picture string `json:"picture,omitempty"` PictureBig string `json:"picture_big,omitempty"` PictureMedium string `json:"picture_medium,omitempty"` PictureSmall string `json:"picture_small,omitempty"` PictureXL string `json:"picture_xl,omitempty"` Type string `json:"type,omitempty"` }
type GenreService ΒΆ
type GenreService service
func (*GenreService) GetArtists ΒΆ
func (s *GenreService) GetArtists(ID int) (*Artists, error)
func (*GenreService) List ΒΆ
func (s *GenreService) List() (*Genres, error)
type InfosService ΒΆ
type InfosService service
type OptionsService ΒΆ
type OptionsService service
type Playlist ΒΆ
type Playlist struct { ID int `json:"id,omitempty"` Title string `json:"title,omitempty"` Public bool `json:"public,omitempty"` Link string `json:"link,omitempty"` Picture string `json:"picture,omitempty"` PictureSmall string `json:"picture_small,omitempty"` PictureMedium string `json:"picture_medium,omitempty"` PictureBig string `json:"picture_big,omitempty"` PictureXL string `json:"picture_xl,omitempty"` Checksum string `json:"checksum,omitempty"` Tracklist string `json:"tracklist,omitempty"` CreationDate string `json:"creation_date,omitempty"` User *User `json:"user,omitempty"` Type string `json:"type,omitempty"` }
type PlaylistService ΒΆ
type PlaylistService service
func (*PlaylistService) GetComments ΒΆ
func (s *PlaylistService) GetComments(ID string) (*Comments, error)
type RadioService ΒΆ
type RadioService service
type SearchService ΒΆ
type SearchService service
type Track ΒΆ
type Track struct { ID int `json:"id,omitempty"` Readable bool `json:"readable,omitempty"` Title string `json:"title,omitempty"` TitleShort string `json:"title_short,omitempty"` TitleVersion string `json:"title_version,omitempty"` ISRC string `json:"isrc,omitempty"` Link string `json:"link,omitempty"` Duration int `json:"duration,omitempty"` Rank int `json:"rank,omitempty"` ExplicitLyrics bool `json:"explicit_lyrics,omitempty"` ExplicitContentLyrics int `json:"explicit_content_lyrics,omitempty"` ExplicitContentCover int `json:"explicit_content_cover,omitempty"` Preview string `json:"preview,omitempty"` Contributors []Contributor `json:"contributors,omitempty"` Artist *Artist `json:"artist,omitempty"` Album *Album `json:"album,omitempty"` Type string `json:"type,omitempty"` }
type TrackService ΒΆ
type TrackService service
type User ΒΆ
type User struct { ID int `json:"id,omitempty"` Name string `json:"name,omitempty"` Link string `json:"link,omitempty"` Picture string `json:"picture,omitempty"` PictureSmall string `json:"picture_small,omitempty"` PictureMedium string `json:"picture_medium,omitempty"` PictureBig string `json:"picture_big,omitempty"` PictureXL string `json:"picture_xl,omitempty"` Tracklist string `json:"tracklist,omitempty"` Type string `json:"type,omitempty"` }
type UserService ΒΆ
type UserService service
Source Files
ΒΆ
Directories
ΒΆ
Path | Synopsis |
---|---|
example
|
|
get-album
command
|
|
get-album-comments
command
|
|
get-album-fans
command
|
|
get-album-tracks
command
|
|
get-artist
command
|
|
get-artist-albums
command
|
|
get-artist-comments
command
|
|
get-artist-fans
command
|
|
get-artist-playlists
command
|
|
get-artist-radio
command
|
|
get-artist-related
command
|
|
get-artist-top
command
|
|
get-genre
command
|
|
get-genre-artists
command
|
|
get-genres
command
|
|
get-playlist
command
|
|
get-playlist-comments
command
|
|
get-playlist-fans
command
|
|
get-playlist-tracks
command
|
|
get-top-albums
command
|
|
get-top-artists
command
|
|
get-top-playlists
command
|
|
get-top-tracks
command
|
Click to show internal directories.
Click to hide internal directories.