mirror of https://github.com/lidarr/Lidarr
21 lines
503 B
C#
21 lines
503 B
C#
using System.Collections.Generic;
|
|
using Lidarr.Api.V1.Indexers;
|
|
using RestSharp;
|
|
|
|
namespace NzbDrone.Integration.Test.Client
|
|
{
|
|
public class IndexerClient : ClientBase<IndexerResource>
|
|
{
|
|
public IndexerClient(IRestClient restClient, string apiKey)
|
|
: base(restClient, apiKey)
|
|
{
|
|
}
|
|
|
|
public List<IndexerResource> Schema()
|
|
{
|
|
var request = BuildRequest("/schema");
|
|
return Get<List<IndexerResource>>(request);
|
|
}
|
|
}
|
|
}
|