mirror of https://github.com/Radarr/Radarr
22 lines
517 B
C#
22 lines
517 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Radarr.Api.V3.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);
|
|
}
|
|
}
|
|
}
|