C# Класс NZBDash.ThirdParty.Api.Rest.SonarrRestRequest

Наследование: BaseRequest, ISonarrRequest
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

AddEpisode() публичный Метод

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.
Результат bool

GetEpisodes() публичный Метод

Gets the Sonarr Episodes
public GetEpisodes ( string url, string seriesId, string apiKey ) : List
url string
seriesId string
apiKey string
Результат List

GetSeries() публичный Метод

Gets all series in this Sonarr instance.
public GetSeries ( string url, string apiKey ) : List
url string The URL.
apiKey string The API key.
Результат List

GetStatus() публичный Метод

Gets the sonarr system status.
public GetStatus ( string url, string apiKey ) : SonarrSystemStatus
url string The URL.
apiKey string The API key.
Результат NZBDash.ThirdParty.Api.Models.Api.Sonarr.SonarrSystemStatus

SonarrRestRequest() публичный Метод

public SonarrRestRequest ( IApiRequest request, ILogger logger ) : System
request IApiRequest
logger ILogger
Результат System