C# 클래스 WaveBox.Lastfm

파일 보기 프로젝트 열기: einsteinx2/WaveBox

공개 메소드들

메소드 설명
GetAlbumArtistInfo ( AlbumArtist albumArtist ) : string
GetAlbumArtistInfo ( int albumArtistId ) : string
GetArtistInfo ( Artist artist ) : string
GetArtistInfo ( int artistId ) : string
Lastfm ( User theUser ) : System

Initializes a new instance of the WaveBox.ApiHandler.Handlers.Lastfm class.

RemoveHttpHeaders ( string resp ) : string
Scrobble ( IList scrobbles, LfmScrobbleType scrobbleType ) : string

Scrobble the specified songId and recordScrobble.

ScrobbleTypeForString ( string input ) : LfmScrobbleType

비공개 메소드들

메소드 설명
CompileApiCall ( string>.SortedDictionary parameters ) : string
CreateAuthUrl ( ) : void

Creates the auth URL.

DoPostRestRequest ( string parameters ) : string

Executes rest requests using the POST method

GetInfo ( string artistName ) : string
GetSessionKeyAndUpdateUser ( string token ) : void

Gets the session key and updates the user's lastfm session in the database.

메소드 상세

GetAlbumArtistInfo() 공개 정적인 메소드

public static GetAlbumArtistInfo ( AlbumArtist albumArtist ) : string
albumArtist WaveBox.Core.Model.AlbumArtist
리턴 string

GetAlbumArtistInfo() 공개 정적인 메소드

public static GetAlbumArtistInfo ( int albumArtistId ) : string
albumArtistId int
리턴 string

GetArtistInfo() 공개 정적인 메소드

public static GetArtistInfo ( Artist artist ) : string
artist WaveBox.Core.Model.Artist
리턴 string

GetArtistInfo() 공개 정적인 메소드

public static GetArtistInfo ( int artistId ) : string
artistId int
리턴 string

Lastfm() 공개 메소드

Initializes a new instance of the WaveBox.ApiHandler.Handlers.Lastfm class.
public Lastfm ( User theUser ) : System
theUser WaveBox.Core.Model.User
리턴 System

RemoveHttpHeaders() 공개 정적인 메소드

public static RemoveHttpHeaders ( string resp ) : string
resp string
리턴 string

Scrobble() 공개 메소드

Scrobble the specified songId and recordScrobble.
public Scrobble ( IList scrobbles, LfmScrobbleType scrobbleType ) : string
scrobbles IList
scrobbleType LfmScrobbleType
리턴 string

ScrobbleTypeForString() 공개 정적인 메소드

public static ScrobbleTypeForString ( string input ) : LfmScrobbleType
input string
리턴 LfmScrobbleType