mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-27 04:21:27 +02:00
can do series lookup using the api.
This commit is contained in:
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();
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user