C# Class DiscogsNet.Api.Discogs

Inheritance: IDiscogsApi
Mostrar archivo Open project: MediaPortal/MPTagThat

Public Methods

Method Description
Discogs ( string apiKey ) : System
GetArtist ( string artistName ) : Artist
GetLabel ( string labelName ) : Label
GetRelease ( int releaseId ) : Release
ParseGetArtistResponse ( string getArtistResponse ) : Artist
ParseGetLabelResponse ( string getLabelResponse ) : Label
ParseGetReleaseResponse ( string getReleaseResponse ) : Release
ParseSearchResponse ( string searchResponse ) : SearchResults_Obsolete
Search ( string searchString ) : SearchResults_Obsolete

Private Methods

Method Description
CreateRequest ( string relativeUrl, string>.Dictionary getArguments = null ) : HttpWebRequest
GetQueryString ( string>.Dictionary getArguments ) : string
GetReponseString ( HttpWebResponse response ) : string
ProcessResponseDocument ( System.Xml.Linq.XDocument document ) : System.Xml.Linq.XElement

Method Details

Discogs() public method

public Discogs ( string apiKey ) : System
apiKey string
return System

GetArtist() public method

public GetArtist ( string artistName ) : Artist
artistName string
return DiscogsNet.Model.Artist

GetLabel() public method

public GetLabel ( string labelName ) : Label
labelName string
return DiscogsNet.Model.Label

GetRelease() public method

public GetRelease ( int releaseId ) : Release
releaseId int
return DiscogsNet.Model.Release

ParseGetArtistResponse() public method

public ParseGetArtistResponse ( string getArtistResponse ) : Artist
getArtistResponse string
return DiscogsNet.Model.Artist

ParseGetLabelResponse() public method

public ParseGetLabelResponse ( string getLabelResponse ) : Label
getLabelResponse string
return DiscogsNet.Model.Label

ParseGetReleaseResponse() public method

public ParseGetReleaseResponse ( string getReleaseResponse ) : Release
getReleaseResponse string
return DiscogsNet.Model.Release

ParseSearchResponse() public method

public ParseSearchResponse ( string searchResponse ) : SearchResults_Obsolete
searchResponse string
return DiscogsNet.Model.Obsolete.SearchResults_Obsolete

Search() public method

public Search ( string searchString ) : SearchResults_Obsolete
searchString string
return DiscogsNet.Model.Obsolete.SearchResults_Obsolete