C# Class NZBDash.ThirdParty.Api.Rest.SonarrRestRequest

Inheritance: BaseRequest, ISonarrRequest
Datei anzeigen Open project: NZBDash/NZBDash

Public Methods

Method Description
AddEpisode ( string url, string episodeId, string apiKey ) : bool

Add's an Episode and downloads the episode on the local Sonarr instance

GetEpisodes ( string url, string seriesId, string apiKey ) : List

Gets the Sonarr Episodes

GetSeries ( string url, string apiKey ) : List

Gets all series in this Sonarr instance.

GetStatus ( string url, string apiKey ) : SonarrSystemStatus

Gets the sonarr system status.

SonarrRestRequest ( IApiRequest request, ILogger logger ) : System

Method Details

AddEpisode() public method

Add's an Episode and downloads the episode on the local Sonarr instance
public AddEpisode ( string url, string episodeId, string apiKey ) : bool
url string The URL.
episodeId string The episode identifier.
apiKey string The API key.
return bool

GetEpisodes() public method

Gets the Sonarr Episodes
public GetEpisodes ( string url, string seriesId, string apiKey ) : List
url string
seriesId string
apiKey string
return List

GetSeries() public method

Gets all series in this Sonarr instance.
public GetSeries ( string url, string apiKey ) : List
url string The URL.
apiKey string The API key.
return List

GetStatus() public method

Gets the sonarr system status.
public GetStatus ( string url, string apiKey ) : SonarrSystemStatus
url string The URL.
apiKey string The API key.
return NZBDash.ThirdParty.Api.Models.Api.Sonarr.SonarrSystemStatus

SonarrRestRequest() public method

public SonarrRestRequest ( IApiRequest request, ILogger logger ) : System
request IApiRequest
logger ILogger
return System