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

Inheritance: BaseRequest, ISonarrRequest
Afficher le fichier Open project: NZBDash/NZBDash

Méthodes publiques

Méthode 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 méthode

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.
Résultat bool

GetEpisodes() public méthode

Gets the Sonarr Episodes
public GetEpisodes ( string url, string seriesId, string apiKey ) : List
url string
seriesId string
apiKey string
Résultat List

GetSeries() public méthode

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

GetStatus() public méthode

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

SonarrRestRequest() public méthode

public SonarrRestRequest ( IApiRequest request, ILogger logger ) : System
request IApiRequest
logger ILogger
Résultat System