C# 클래스 NZBDash.ThirdParty.Api.Rest.SonarrRestRequest

상속: BaseRequest, ISonarrRequest
파일 보기 프로젝트 열기: NZBDash/NZBDash

공개 메소드들

메소드 설명
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