can do series lookup using the api.

This commit is contained in:
kay.one 2013-01-19 17:37:48 -08:00
commit 32e402b5a0
6 changed files with 49 additions and 11 deletions

View 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();
}
}
}