Documentation ¶
Index ¶
- func AddUserToGuild(discordID, guildID string) (*model.GuildMember, error)
- func AlbumPlays(userInput model.UserInput, settings *model.AlbumPlaysSettings) ([]*model.AlbumCount, error)
- func AlbumTopTracks(userInput model.UserInput, albumInput model.AlbumInput) (*model.AlbumTopTracksResponse, error)
- func ArtistPlays(userInput model.UserInput, settings *model.ArtistPlaysSettings) ([]*model.ArtistCount, error)
- func ArtistRank(artistInput model.ArtistInput, userInput model.UserInput, serverID *string) (*model.ArtistRankResponse, error)
- func ArtistTopAlbums(userInput model.UserInput, artistInput model.ArtistInput) (*model.ArtistTopAlbumsResponse, error)
- func ArtistTopTracks(userInput model.UserInput, artistInput model.ArtistInput) (*model.ArtistTopTracksResponse, error)
- func Artists(ctx context.Context, inputs []*model.ArtistInput, tagInput *model.TagInput, ...) ([]*model.Artist, error)
- func DeleteGuild(guildID string) (*string, error)
- func GuildMembers(guildID string) ([]*model.GuildMember, error)
- func ImportRatings(csvString string, userInput model.UserInput) (*string, error)
- func Login(username string, session *string, discordID string) (*model.User, error)
- func Logout(discordID string) (*string, error)
- func Ping() (string, error)
- func Plays(playsInput model.PlaysInput, pageInput *model.PageInput) (*model.PlaysResponse, error)
- func RateYourMusicArtist(keywords string) (*model.RateYourMusicArtist, error)
- func Ratings(settings *model.RatingsSettings) (*model.RatingsResponse, error)
- func RemoveUserFromGuild(discordID, guildID string) (*string, error)
- func SearchArtist(criteria model.ArtistSearchCriteria, settings *model.SearchSettings) (*model.ArtistSearchResults, error)
- func SyncGuild(discordIDs []string, guildID string) (*string, error)
- func TagArtists(artists []*model.ArtistInput, tags []*model.TagInput, markAsChecked *bool) (*string, error)
- func Tags(settings *model.TagsSettings, requireTagsForMissing *bool) (*model.TagsResponse, error)
- func TrackTopAlbums(userInput model.UserInput, trackInput model.TrackInput) (*model.TrackTopAlbumsResponse, error)
- func UpdatePrivacy(userInput model.UserInput, privacy *model.Privacy) (*string, error)
- func Users(inputs []*model.UserInput) ([]*model.User, error)
- func WhoFirstArtist(artistInput model.ArtistInput, settings *model.WhoKnowsSettings, whoLast *bool) (*model.WhoFirstArtistResponse, error)
- func WhoKnowsAlbum(albumInput model.AlbumInput, settings *model.WhoKnowsSettings) (*model.WhoKnowsAlbumResponse, error)
- func WhoKnowsArtist(artistInput model.ArtistInput, settings *model.WhoKnowsSettings) (*model.WhoKnowsArtistResponse, error)
- func WhoKnowsTrack(trackInput model.TrackInput, settings *model.WhoKnowsSettings) (*model.WhoKnowsTrackResponse, error)
- type ArtistsTagsMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddUserToGuild ¶
func AddUserToGuild(discordID, guildID string) (*model.GuildMember, error)
AddUserToGuild adds a member to a guild in the cache
func AlbumPlays ¶
func AlbumPlays(userInput model.UserInput, settings *model.AlbumPlaysSettings) ([]*model.AlbumCount, error)
func AlbumTopTracks ¶
func AlbumTopTracks(userInput model.UserInput, albumInput model.AlbumInput) (*model.AlbumTopTracksResponse, error)
func ArtistPlays ¶
func ArtistPlays(userInput model.UserInput, settings *model.ArtistPlaysSettings) ([]*model.ArtistCount, error)
func ArtistRank ¶
func ArtistRank(artistInput model.ArtistInput, userInput model.UserInput, serverID *string) (*model.ArtistRankResponse, error)
func ArtistTopAlbums ¶
func ArtistTopAlbums(userInput model.UserInput, artistInput model.ArtistInput) (*model.ArtistTopAlbumsResponse, error)
Returns a list of a users top scrobbled albums under a user
func ArtistTopTracks ¶
func ArtistTopTracks(userInput model.UserInput, artistInput model.ArtistInput) (*model.ArtistTopTracksResponse, error)
func DeleteGuild ¶
func GuildMembers ¶
func GuildMembers(guildID string) ([]*model.GuildMember, error)
GuildMembers lists the guild members in a given server
func ImportRatings ¶
func Plays ¶
func Plays(playsInput model.PlaysInput, pageInput *model.PageInput) (*model.PlaysResponse, error)
func RateYourMusicArtist ¶
func RateYourMusicArtist(keywords string) (*model.RateYourMusicArtist, error)
func Ratings ¶
func Ratings(settings *model.RatingsSettings) (*model.RatingsResponse, error)
func RemoveUserFromGuild ¶
RemoveUserFromGuild removes a member from a guild in the cache
func SearchArtist ¶
func SearchArtist(criteria model.ArtistSearchCriteria, settings *model.SearchSettings) (*model.ArtistSearchResults, error)
func TagArtists ¶
func Tags ¶
func Tags(settings *model.TagsSettings, requireTagsForMissing *bool) (*model.TagsResponse, error)
func TrackTopAlbums ¶
func TrackTopAlbums(userInput model.UserInput, trackInput model.TrackInput) (*model.TrackTopAlbumsResponse, error)
func UpdatePrivacy ¶
func WhoFirstArtist ¶
func WhoFirstArtist(artistInput model.ArtistInput, settings *model.WhoKnowsSettings, whoLast *bool) (*model.WhoFirstArtistResponse, error)
func WhoKnowsAlbum ¶
func WhoKnowsAlbum(albumInput model.AlbumInput, settings *model.WhoKnowsSettings) (*model.WhoKnowsAlbumResponse, error)
WhoKnowsAlbum returns a list of who has plays of an album
func WhoKnowsArtist ¶
func WhoKnowsArtist(artistInput model.ArtistInput, settings *model.WhoKnowsSettings) (*model.WhoKnowsArtistResponse, error)
WhoKnowsArtist returns a list of who has plays of an artist
func WhoKnowsTrack ¶
func WhoKnowsTrack(trackInput model.TrackInput, settings *model.WhoKnowsSettings) (*model.WhoKnowsTrackResponse, error)
WhoKnowsTrack returns a list of who has plays of an track
Types ¶
type ArtistsTagsMap ¶
Click to show internal directories.
Click to hide internal directories.