mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 05:13:18 -07:00
parent
b1d7a3187e
commit
f88c7d7583
9 changed files with 64 additions and 23 deletions
|
@ -56,5 +56,18 @@ namespace PlexRequests.Api
|
|||
return Api.Execute<List<TvMazeSearch>>(request, new Uri(Uri));
|
||||
}
|
||||
|
||||
public TvMazeShow ShowLookup(int showId)
|
||||
{
|
||||
var request = new RestRequest
|
||||
{
|
||||
Method = Method.GET,
|
||||
Resource = "shows/{id}"
|
||||
};
|
||||
request.AddUrlSegment("id", showId.ToString());
|
||||
request.AddHeader("Content-Type", "application/json");
|
||||
|
||||
return Api.Execute<TvMazeShow>(request, new Uri(Uri));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue