C# 클래스 RdioSharp.RdioManager

상속: IRdioManager
파일 보기 프로젝트 열기: kreeger/RdioSharp 1 사용 예제들

공개 메소드들

메소드 설명
AddFriend ( string user ) : bool

IRdioManager.AddFriend

AddToCollection ( IEnumerable keys ) : bool

IRdioManager.AddToCollection

AddToPlaylist ( string playlist, IEnumerable tracks ) : bool

IRdioManager.AddToPlaylist

Authorize ( string oAuthVerifier ) : void

Exchange the request token for an access token.

CreatePlaylist ( string name, string description, IEnumerable tracks, IEnumerable extras = null ) : RdioPlaylist

IRdioManager.CreatePlaylist

CurrentUser ( IEnumerable extras = null ) : RdioSharp.Models.RdioUser

IRdioManager.CurrentUser

DeletePlaylist ( string playlist ) : bool

IRdioManager.GetActivityStream

FindUser ( string email = null, string vanityName = null ) : RdioSharp.Models.RdioUser

IRdioManager.FindUser

GenerateRequestTokenAndLoginUrl ( ) : void

Get the link to Rdio's authorization page for this application.

Get ( string key, IEnumerable extras = null ) : IRdioObject

IRdioManager.Get(string, IEnumerable{string})

Get ( IEnumerable keys, IEnumerable extras = null ) : RdioResultSet

IRdioManager.Get(IEnumerable{string}, IEnumerable{string})

GetActivityStream ( string user, RdioScope scope = RdioScope.Friends, long lastId ) : RdioActivityStream

IRdioManager.GetActivityStream

GetAlbumsForArtist ( string artist, bool featuring = false, IEnumerable extras = null, int start, int count ) : IEnumerable

IRdioManager.GetAlbumsForArtist

GetAlbumsForArtistInCollection ( string artist, string user = null ) : IEnumerable

IRdioManager.GetAlbumsForArtistInCollection

GetAlbumsInCollection ( string user = null, int start, int count, RdioSortBy sort = RdioSortBy.None, string query = null ) : IEnumerable

IRdioManager.GetAlbumsInCollection

GetArtistsInCollection ( string user = null, int start, int count, RdioSortBy sort = RdioSortBy.None, string query = null ) : IEnumerable

IRdioManager.GetHeavyRotation

GetHeavyRotation ( string user = null, RdioType type = RdioType.Album, bool friends = false, int limit ) : IEnumerable

IRdioManager.GetHeavyRotation

GetNewReleases ( RdioTimeframe timeframe = RdioTimeframe.None, int start, int count, IEnumerable extras = null ) : IEnumerable

IRdioManager.GetNewReleases

GetObjectFromShortCode ( string shortCode ) : IRdioObject

IRdioManager.GetObjectFromShortCode

GetObjectFromUrl ( string url ) : IRdioObject

IRdioManager.GetObjectFromUrl

GetPlaybackToken ( string domain = null ) : string

IRdioManager.GetPlaybackToken

GetPlaylists ( IEnumerable extras = null ) : RdioPlaylistSet

IRdioManager.GetPlaylists

GetTopCharts ( RdioType type, int start, int count, IEnumerable extras = null ) : IEnumerable

IRdioManager.GetTopCharts

GetTracksForAlbumInCollection ( string album, string user = null, IEnumerable extras = null ) : IEnumerable

IRdioManager.GetTracksForAlbumInCollection

GetTracksForArtist ( string artist, bool appearsOn = false, IEnumerable extras = null, int start, int count ) : IEnumerable

IRdioManager.GetTracksForArtist

GetTracksForArtistInCollection ( string artist, string user = null, IEnumerable extras = null ) : IEnumerable

IRdioManager.GetTracksForArtistInCollection

GetTracksInCollection ( string user = null, int start, int count, RdioSortBy sort = RdioSortBy.None, string query = null ) : IEnumerable

IRdioManager.GetTracksInCollection

RdioManager ( string consumerKey = null, string consumerSecret = null, string accessKey = null, string accessSecret = null, string callbackUrl = null ) : System
RemoveFriend ( string user ) : bool

IRdioManager.RemoveFriend

RemoveFromCollection ( IEnumerable keys ) : bool

IRdioManager.RemoveFromCollection

RemoveFromPlaylist ( string playlist, IEnumerable tracks, int index, int count ) : bool

IRdioManager.RemoveFromPlaylist

Search ( string query, IEnumerable types, bool neverOr = true, IEnumerable extras = null, int start, int count ) : RdioResultSet

IRdioManager.Search

SearchSuggestions ( string query, IEnumerable extras = null ) : RdioResultSet

IRdioManager.SearchSuggestions

SetCredentials ( string consumerKey = null, string consumerSecret = null, string accessKey = null, string accessSecret = null ) : void

Sets credentials for the Rdio API manager.

비공개 메소드들

메소드 설명
Deserialize ( string toDeserialize, Type type ) : object

This method is refactored to help account for changes between .NET 3.5 and .NET 4.0.

DoWebRequest ( string url, string postData ) : string

Web Request Wrapper

MakeWebRequest ( NameValueCollection postData = null, string url = API_URL ) : string

Submit a web request using oAuth.

getAPISortValue ( RdioSortBy sort ) : string

메소드 상세

AddFriend() 공개 메소드

IRdioManager.AddFriend
public AddFriend ( string user ) : bool
user string
리턴 bool

AddToCollection() 공개 메소드

IRdioManager.AddToCollection
public AddToCollection ( IEnumerable keys ) : bool
keys IEnumerable
리턴 bool

AddToPlaylist() 공개 메소드

IRdioManager.AddToPlaylist
public AddToPlaylist ( string playlist, IEnumerable tracks ) : bool
playlist string
tracks IEnumerable
리턴 bool

Authorize() 공개 메소드

Exchange the request token for an access token.
public Authorize ( string oAuthVerifier ) : void
oAuthVerifier string An oauth_verifier parameter is provided to the client either in the pre-configured callback URL
리턴 void

CreatePlaylist() 공개 메소드

IRdioManager.CreatePlaylist
public CreatePlaylist ( string name, string description, IEnumerable tracks, IEnumerable extras = null ) : RdioPlaylist
name string
description string
tracks IEnumerable
extras IEnumerable
리턴 RdioPlaylist

CurrentUser() 공개 메소드

IRdioManager.CurrentUser
public CurrentUser ( IEnumerable extras = null ) : RdioSharp.Models.RdioUser
extras IEnumerable
리턴 RdioSharp.Models.RdioUser

DeletePlaylist() 공개 메소드

IRdioManager.GetActivityStream
public DeletePlaylist ( string playlist ) : bool
playlist string
리턴 bool

FindUser() 공개 메소드

IRdioManager.FindUser
public FindUser ( string email = null, string vanityName = null ) : RdioSharp.Models.RdioUser
email string
vanityName string
리턴 RdioSharp.Models.RdioUser

GenerateRequestTokenAndLoginUrl() 공개 메소드

Get the link to Rdio's authorization page for this application.
public GenerateRequestTokenAndLoginUrl ( ) : void
리턴 void

Get() 공개 메소드

IRdioManager.Get(string, IEnumerable{string})
public Get ( string key, IEnumerable extras = null ) : IRdioObject
key string
extras IEnumerable
리턴 IRdioObject

Get() 공개 메소드

IRdioManager.Get(IEnumerable{string}, IEnumerable{string})
public Get ( IEnumerable keys, IEnumerable extras = null ) : RdioResultSet
keys IEnumerable
extras IEnumerable
리턴 RdioResultSet

GetActivityStream() 공개 메소드

IRdioManager.GetActivityStream
public GetActivityStream ( string user, RdioScope scope = RdioScope.Friends, long lastId ) : RdioActivityStream
user string
scope RdioScope
lastId long
리턴 RdioSharp.Models.RdioActivityStream

GetAlbumsForArtist() 공개 메소드

IRdioManager.GetAlbumsForArtist
public GetAlbumsForArtist ( string artist, bool featuring = false, IEnumerable extras = null, int start, int count ) : IEnumerable
artist string
featuring bool
extras IEnumerable
start int
count int
리턴 IEnumerable

GetAlbumsForArtistInCollection() 공개 메소드

IRdioManager.GetAlbumsForArtistInCollection
public GetAlbumsForArtistInCollection ( string artist, string user = null ) : IEnumerable
artist string
user string
리턴 IEnumerable

GetAlbumsInCollection() 공개 메소드

IRdioManager.GetAlbumsInCollection
public GetAlbumsInCollection ( string user = null, int start, int count, RdioSortBy sort = RdioSortBy.None, string query = null ) : IEnumerable
user string
start int
count int
sort RdioSortBy
query string
리턴 IEnumerable

GetArtistsInCollection() 공개 메소드

IRdioManager.GetHeavyRotation
public GetArtistsInCollection ( string user = null, int start, int count, RdioSortBy sort = RdioSortBy.None, string query = null ) : IEnumerable
user string
start int
count int
sort RdioSortBy
query string
리턴 IEnumerable

GetHeavyRotation() 공개 메소드

IRdioManager.GetHeavyRotation
public GetHeavyRotation ( string user = null, RdioType type = RdioType.Album, bool friends = false, int limit ) : IEnumerable
user string
type RdioType
friends bool
limit int
리턴 IEnumerable

GetNewReleases() 공개 메소드

IRdioManager.GetNewReleases
public GetNewReleases ( RdioTimeframe timeframe = RdioTimeframe.None, int start, int count, IEnumerable extras = null ) : IEnumerable
timeframe RdioTimeframe
start int
count int
extras IEnumerable
리턴 IEnumerable

GetObjectFromShortCode() 공개 메소드

IRdioManager.GetObjectFromShortCode
public GetObjectFromShortCode ( string shortCode ) : IRdioObject
shortCode string
리턴 IRdioObject

GetObjectFromUrl() 공개 메소드

IRdioManager.GetObjectFromUrl
public GetObjectFromUrl ( string url ) : IRdioObject
url string
리턴 IRdioObject

GetPlaybackToken() 공개 메소드

IRdioManager.GetPlaybackToken
public GetPlaybackToken ( string domain = null ) : string
domain string
리턴 string

GetPlaylists() 공개 메소드

IRdioManager.GetPlaylists
public GetPlaylists ( IEnumerable extras = null ) : RdioPlaylistSet
extras IEnumerable
리턴 RdioSharp.Models.RdioPlaylistSet

GetTopCharts() 공개 메소드

IRdioManager.GetTopCharts
public GetTopCharts ( RdioType type, int start, int count, IEnumerable extras = null ) : IEnumerable
type RdioType
start int
count int
extras IEnumerable
리턴 IEnumerable

GetTracksForAlbumInCollection() 공개 메소드

IRdioManager.GetTracksForAlbumInCollection
public GetTracksForAlbumInCollection ( string album, string user = null, IEnumerable extras = null ) : IEnumerable
album string
user string
extras IEnumerable
리턴 IEnumerable

GetTracksForArtist() 공개 메소드

IRdioManager.GetTracksForArtist
public GetTracksForArtist ( string artist, bool appearsOn = false, IEnumerable extras = null, int start, int count ) : IEnumerable
artist string
appearsOn bool
extras IEnumerable
start int
count int
리턴 IEnumerable

GetTracksForArtistInCollection() 공개 메소드

IRdioManager.GetTracksForArtistInCollection
public GetTracksForArtistInCollection ( string artist, string user = null, IEnumerable extras = null ) : IEnumerable
artist string
user string
extras IEnumerable
리턴 IEnumerable

GetTracksInCollection() 공개 메소드

IRdioManager.GetTracksInCollection
public GetTracksInCollection ( string user = null, int start, int count, RdioSortBy sort = RdioSortBy.None, string query = null ) : IEnumerable
user string
start int
count int
sort RdioSortBy
query string
리턴 IEnumerable

RdioManager() 공개 메소드

public RdioManager ( string consumerKey = null, string consumerSecret = null, string accessKey = null, string accessSecret = null, string callbackUrl = null ) : System
consumerKey string
consumerSecret string
accessKey string
accessSecret string
callbackUrl string
리턴 System

RemoveFriend() 공개 메소드

IRdioManager.RemoveFriend
public RemoveFriend ( string user ) : bool
user string
리턴 bool

RemoveFromCollection() 공개 메소드

IRdioManager.RemoveFromCollection
public RemoveFromCollection ( IEnumerable keys ) : bool
keys IEnumerable
리턴 bool

RemoveFromPlaylist() 공개 메소드

IRdioManager.RemoveFromPlaylist
public RemoveFromPlaylist ( string playlist, IEnumerable tracks, int index, int count ) : bool
playlist string
tracks IEnumerable
index int
count int
리턴 bool

Search() 공개 메소드

IRdioManager.Search
public Search ( string query, IEnumerable types, bool neverOr = true, IEnumerable extras = null, int start, int count ) : RdioResultSet
query string
types IEnumerable
neverOr bool
extras IEnumerable
start int
count int
리턴 RdioResultSet

SearchSuggestions() 공개 메소드

IRdioManager.SearchSuggestions
public SearchSuggestions ( string query, IEnumerable extras = null ) : RdioResultSet
query string
extras IEnumerable
리턴 RdioResultSet

SetCredentials() 공개 메소드

Sets credentials for the Rdio API manager.
public SetCredentials ( string consumerKey = null, string consumerSecret = null, string accessKey = null, string accessSecret = null ) : void
consumerKey string The OAuth consumer key.
consumerSecret string The OAuth consumer secret.
accessKey string The OAuth access token key.
accessSecret string The OAuth access token key.
리턴 void