Documentation ¶
Index ¶
- func DefaultSeedProfile(c *CoreService, token *oauth2.Token) (spotify.Seeds, error)
- type CoreService
- func (c *CoreService) GetPopularityScore(ctx context.Context, token_json *core_pb.Token) (*core_pb.FloatScore, error)
- func (c *CoreService) GetRandomTopAlbumsCollage(ctx context.Context, info_and_token *core_pb.CollageInfoAndToken) (*core_pb.Image, error)
- func (c *CoreService) GetRandomTopArtistsCollage(ctx context.Context, info_and_token *core_pb.CollageInfoAndToken) (*core_pb.Image, error)
- func (c *CoreService) GetRecommendedSongs(ctx context.Context, number_with_token *core_pb.NumberWithToken) (*core_pb.JSONResponse, error)
- func (c *CoreService) GetSongAudioFeatures(ctx context.Context, track *core_pb.IDWithToken) (*core_pb.JSONResponse, error)
- func (c *CoreService) GetSongInfo(ctx context.Context, track *core_pb.IDWithToken) (*core_pb.JSONResponse, error)
- func (c *CoreService) GetTopAlbumsCollage(ctx context.Context, info_and_token *core_pb.CollageInfoAndToken) (*core_pb.Image, error)
- func (c *CoreService) GetTopArtists(ctx context.Context, artist *core_pb.NumberWithToken) (*core_pb.JSONResponse, error)
- func (c *CoreService) GetTopArtistsCollage(ctx context.Context, info_and_token *core_pb.CollageInfoAndToken) (*core_pb.Image, error)
- func (c *CoreService) GetTopGenres(ctx context.Context, number_and_token *core_pb.NumberWithToken) (*core_pb.JSONResponse, error)
- func (c *CoreService) GetTopSongs(ctx context.Context, track *core_pb.NumberWithToken) (*core_pb.JSONResponse, error)
- func (c *CoreService) MakeRecommendedPlaylist(ctx context.Context, token_json *core_pb.Token) (*emptypb.Empty, error)
- func (c *CoreService) Search(ctx context.Context, query_with_token *core_pb.QueryWithToken) (*core_pb.JSONResponse, error)
- type GenreWithFrequency
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultSeedProfile ¶
func DefaultSeedProfile(c *CoreService, token *oauth2.Token) (spotify.Seeds, error)
Types ¶
type CoreService ¶
type CoreService struct { Authenticator *spotifyauth.Authenticator CollageGeneratorClient collage_maker_pb.ImageProcessorClient core_pb.UnimplementedCoreManagerServer }
func (*CoreService) GetPopularityScore ¶
func (c *CoreService) GetPopularityScore(ctx context.Context, token_json *core_pb.Token) (*core_pb.FloatScore, error)
func (*CoreService) GetRandomTopAlbumsCollage ¶
func (c *CoreService) GetRandomTopAlbumsCollage(ctx context.Context, info_and_token *core_pb.CollageInfoAndToken) (*core_pb.Image, error)
func (*CoreService) GetRandomTopArtistsCollage ¶
func (c *CoreService) GetRandomTopArtistsCollage(ctx context.Context, info_and_token *core_pb.CollageInfoAndToken) (*core_pb.Image, error)
func (*CoreService) GetRecommendedSongs ¶
func (c *CoreService) GetRecommendedSongs(ctx context.Context, number_with_token *core_pb.NumberWithToken) (*core_pb.JSONResponse, error)
func (*CoreService) GetSongAudioFeatures ¶
func (c *CoreService) GetSongAudioFeatures(ctx context.Context, track *core_pb.IDWithToken) (*core_pb.JSONResponse, error)
func (*CoreService) GetSongInfo ¶
func (c *CoreService) GetSongInfo(ctx context.Context, track *core_pb.IDWithToken) (*core_pb.JSONResponse, error)
func (*CoreService) GetTopAlbumsCollage ¶
func (c *CoreService) GetTopAlbumsCollage(ctx context.Context, info_and_token *core_pb.CollageInfoAndToken) (*core_pb.Image, error)
func (*CoreService) GetTopArtists ¶
func (c *CoreService) GetTopArtists(ctx context.Context, artist *core_pb.NumberWithToken) (*core_pb.JSONResponse, error)
func (*CoreService) GetTopArtistsCollage ¶
func (c *CoreService) GetTopArtistsCollage(ctx context.Context, info_and_token *core_pb.CollageInfoAndToken) (*core_pb.Image, error)
func (*CoreService) GetTopGenres ¶
func (c *CoreService) GetTopGenres(ctx context.Context, number_and_token *core_pb.NumberWithToken) (*core_pb.JSONResponse, error)
func (*CoreService) GetTopSongs ¶
func (c *CoreService) GetTopSongs(ctx context.Context, track *core_pb.NumberWithToken) (*core_pb.JSONResponse, error)
func (*CoreService) MakeRecommendedPlaylist ¶
func (*CoreService) Search ¶
func (c *CoreService) Search(ctx context.Context, query_with_token *core_pb.QueryWithToken) (*core_pb.JSONResponse, error)
type GenreWithFrequency ¶
Click to show internal directories.
Click to hide internal directories.