C# Class MediaPortal.Plugins.MovingPictures.DataProviders.MovieMeter.MovieMeterAPI

Simple MovieMeter API with local caching.
Mostra file Open project: damienhaynes/moving-pictures

Public Methods

Method Description
FlushCache ( ) : void

Flushes the movie information cache

GetMovieDetails ( string movieMeterID ) : FilmDetail
GetMovieMeterId ( string imdbId ) : string

Gets the MovieMeter ID linked to a IMDb code

MovieMeterAPI ( string apikey ) : System
Search ( string keywords ) : MediaPortal.Plugins.MovingPictures.DataProviders.MovieMeter.Film[]

Private Methods

Method Description
MovieMeterAPI ( ) : System
getSessionKey ( ) : string
retryAfterWebException ( WebException e, int tryCount ) : bool

Method Details

FlushCache() public method

Flushes the movie information cache
public FlushCache ( ) : void
return void

GetMovieDetails() public method

public GetMovieDetails ( string movieMeterID ) : FilmDetail
movieMeterID string
return FilmDetail

GetMovieMeterId() public method

Gets the MovieMeter ID linked to a IMDb code
public GetMovieMeterId ( string imdbId ) : string
imdbId string the numeric part of the IMDb code
return string

MovieMeterAPI() public method

public MovieMeterAPI ( string apikey ) : System
apikey string
return System

Search() public method

public Search ( string keywords ) : MediaPortal.Plugins.MovingPictures.DataProviders.MovieMeter.Film[]
keywords string
return MediaPortal.Plugins.MovingPictures.DataProviders.MovieMeter.Film[]