mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-14 01:02:57 -07:00
#150 sonarr/sickrage cache checking. sickrage has a couple small items left
This commit is contained in:
parent
35310d35ed
commit
5f67302b32
17 changed files with 332 additions and 9 deletions
|
@ -36,6 +36,7 @@ using PlexRequests.Api.Models.Sonarr;
|
|||
using PlexRequests.Helpers;
|
||||
|
||||
using RestSharp;
|
||||
using Newtonsoft.Json.Linq;
|
||||
|
||||
namespace PlexRequests.Api
|
||||
{
|
||||
|
@ -122,5 +123,13 @@ namespace PlexRequests.Api
|
|||
|
||||
return obj;
|
||||
}
|
||||
|
||||
public List<Series> GetSeries(string apiKey, Uri baseUrl)
|
||||
{
|
||||
var request = new RestRequest { Resource = "/api/series", Method = Method.GET };
|
||||
request.AddHeader("X-Api-Key", apiKey);
|
||||
|
||||
return Api.Execute<List<Series>>(request, baseUrl);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue