Documentation ¶
Index ¶
- type PlaybackTokenResponse
- type Rdio
- func (r *Rdio) BeginAuthentication(callbackUrl string) (*oauth.RequestToken, string, error)
- func (r *Rdio) Call(method string, query map[string]string) (interface{}, error)
- func (r *Rdio) CompleteAuthentication(requestToken, requestTokenSecret, verifier string) error
- func (r *Rdio) GetPlaybackToken(domain string) (PlaybackTokenResponse, error)
- func (r *Rdio) Search(query, types string, options map[string]string) (SearchResult, error)
- type SearchResult
- type SearchResults
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PlaybackTokenResponse ¶
type Rdio ¶
type Rdio struct { AccessToken *oauth.AccessToken // contains filtered or unexported fields }
func AuthenticatedClient ¶
func (*Rdio) BeginAuthentication ¶
func (*Rdio) CompleteAuthentication ¶
func (*Rdio) GetPlaybackToken ¶
func (r *Rdio) GetPlaybackToken(domain string) (PlaybackTokenResponse, error)
type SearchResult ¶
type SearchResult struct {
Result SearchResults `json:"result"`
}
type SearchResults ¶
type SearchResults struct { AlbumCount int32 `json:"album_count"` PersonCount int32 `json:"person_count"` TrackCount int32 `json:"track_count"` PlaylistCount int32 `json:"playlist_count"` ArtistCount int32 `json:"artist_count"` NumberResults int32 `json:"number_results"` Results []interface{} `json:"results"` }
Click to show internal directories.
Click to hide internal directories.