Documentation ¶
Index ¶
- Variables
- type Album
- type AlbumCount
- type AlbumInput
- type AlbumPlaysSettings
- type AlbumTopTracksResponse
- type AmbiguousTrack
- type AmbiguousTrackCount
- type Artist
- type ArtistCount
- type ArtistInput
- type ArtistPlaysSettings
- type ArtistRankResponse
- type ArtistSearchCriteria
- type ArtistSearchResult
- type ArtistSearchResults
- type ArtistTopAlbumsResponse
- type ArtistTopTracksResponse
- type GuildMember
- type PageInfo
- type PageInput
- type Play
- type PlaysInput
- type PlaysResponse
- type Privacy
- type RateYourMusicAlbum
- type RateYourMusicArtist
- type Rating
- type RatingsResponse
- type RatingsSettings
- type SearchSettings
- type Tag
- type TagInput
- type TagsResponse
- type TagsSettings
- type TaskStartResponse
- type Timerange
- type Track
- type TrackCount
- type TrackInput
- type TrackPlaysSettings
- type TrackTopAlbumsResponse
- type User
- type UserInput
- type WhoFirstArtistResponse
- type WhoFirstRow
- type WhoKnowsAlbumResponse
- type WhoKnowsArtistResponse
- type WhoKnowsRow
- type WhoKnowsSettings
- type WhoKnowsTrackResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var AllPrivacy = []Privacy{ PrivacyPrivate, PrivacyDiscord, PrivacyFmusername, PrivacyBoth, PrivacyUnset, }
Functions ¶
This section is empty.
Types ¶
type AlbumCount ¶
type AlbumInput ¶
type AlbumInput struct { Artist *ArtistInput `json:"artist"` Name *string `json:"name"` }
func (AlbumInput) SafeGetArtistName ¶
func (li AlbumInput) SafeGetArtistName() *string
SafeGetArtistName returns the artist name or nil
type AlbumPlaysSettings ¶
type AlbumPlaysSettings struct { PageInput *PageInput `json:"pageInput"` Album *AlbumInput `json:"album"` Sort *string `json:"sort"` }
type AlbumTopTracksResponse ¶
type AlbumTopTracksResponse struct { Album *Album `json:"album"` TopTracks []*AmbiguousTrackCount `json:"topTracks"` }
type AmbiguousTrack ¶
type AmbiguousTrackCount ¶
type ArtistCount ¶
type ArtistInput ¶
type ArtistInput struct {
Name *string `json:"name"`
}
type ArtistPlaysSettings ¶
type ArtistPlaysSettings struct { PageInput *PageInput `json:"pageInput"` Artist *ArtistInput `json:"artist"` Sort *string `json:"sort"` }
type ArtistRankResponse ¶
type ArtistRankResponse struct { Artist *Artist `json:"artist"` Rank int `json:"rank"` Playcount int `json:"playcount"` Listeners int `json:"listeners"` Above *ArtistCount `json:"above"` Below *ArtistCount `json:"below"` }
type ArtistSearchCriteria ¶
type ArtistSearchCriteria struct {
Keywords *string `json:"keywords"`
}
type ArtistSearchResult ¶
type ArtistSearchResults ¶
type ArtistSearchResults struct {
Artists []*ArtistSearchResult `json:"artists"`
}
type ArtistTopAlbumsResponse ¶
type ArtistTopAlbumsResponse struct { Artist *Artist `json:"artist"` TopAlbums []*AlbumCount `json:"topAlbums"` }
type ArtistTopTracksResponse ¶
type ArtistTopTracksResponse struct { Artist *Artist `json:"artist"` TopTracks []*AmbiguousTrackCount `json:"topTracks"` }
type GuildMember ¶
type PlaysInput ¶
type PlaysInput struct { User *UserInput `json:"user"` Track *TrackInput `json:"track"` Sort *string `json:"sort"` Timerange *Timerange `json:"timerange"` }
type PlaysResponse ¶
type RateYourMusicAlbum ¶
type RateYourMusicArtist ¶
type Rating ¶
type Rating struct { RateYourMusicAlbum *RateYourMusicAlbum `json:"rateYourMusicAlbum"` Rating int `json:"rating"` }
type RatingsResponse ¶
type RatingsSettings ¶
type RatingsSettings struct { User *UserInput `json:"user"` Album *AlbumInput `json:"album"` PageInput *PageInput `json:"pageInput"` Rating *int `json:"rating"` }
type SearchSettings ¶
type TagsResponse ¶
type TagsSettings ¶
type TagsSettings struct { Artists []*ArtistInput `json:"artists"` Keyword *string `json:"keyword"` PageInput *PageInput `json:"pageInput"` }
type TaskStartResponse ¶
type TrackCount ¶
type TrackInput ¶
type TrackInput struct { Artist *ArtistInput `json:"artist"` Album *AlbumInput `json:"album"` Name *string `json:"name"` }
func (TrackInput) SafeGetAlbumName ¶
func (ti TrackInput) SafeGetAlbumName() *string
SafeGetAlbumName returns the artist name or nil
func (TrackInput) SafeGetArtistName ¶
func (ti TrackInput) SafeGetArtistName() *string
SafeGetArtistName returns the artist name or nil
type TrackPlaysSettings ¶
type TrackPlaysSettings struct { PageInput *PageInput `json:"pageInput"` Track *TrackInput `json:"track"` Sort *string `json:"sort"` }
type TrackTopAlbumsResponse ¶
type TrackTopAlbumsResponse struct { Track *AmbiguousTrack `json:"track"` TopAlbums []*TrackCount `json:"topAlbums"` }
type WhoFirstArtistResponse ¶
type WhoFirstArtistResponse struct { Rows []*WhoFirstRow `json:"rows"` Undated []*WhoFirstRow `json:"undated"` Artist *Artist `json:"artist"` }
type WhoFirstRow ¶
type WhoKnowsAlbumResponse ¶
type WhoKnowsAlbumResponse struct { Rows []*WhoKnowsRow `json:"rows"` Album *Album `json:"album"` }
type WhoKnowsArtistResponse ¶
type WhoKnowsArtistResponse struct { Rows []*WhoKnowsRow `json:"rows"` Artist *Artist `json:"artist"` }
type WhoKnowsRow ¶
type WhoKnowsSettings ¶
type WhoKnowsTrackResponse ¶
type WhoKnowsTrackResponse struct { Rows []*WhoKnowsRow `json:"rows"` Track *AmbiguousTrack `json:"track"` }
Click to show internal directories.
Click to hide internal directories.