mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
can do series lookup using the api.
This commit is contained in:
parent
5fb1f4902f
commit
32e402b5a0
6 changed files with 49 additions and 11 deletions
18
NzbDrone.Api/NzbDroneApiModule.cs
Normal file
18
NzbDrone.Api/NzbDroneApiModule.cs
Normal file
|
@ -0,0 +1,18 @@
|
|||
using System.Linq;
|
||||
using Nancy;
|
||||
using Nancy.Responses;
|
||||
|
||||
namespace NzbDrone.Api
|
||||
{
|
||||
public abstract class NzbDroneApiModule : NancyModule
|
||||
{
|
||||
protected NzbDroneApiModule(string resource)
|
||||
: base("/api/" + resource.Trim('/'))
|
||||
{
|
||||
Options["/"] = x => new Response();
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue