mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-23 22:25:09 -04:00
New: Readarr 0.1
This commit is contained in:
@@ -11,9 +11,9 @@ namespace NzbDrone.Integration.Test.Client
|
||||
{
|
||||
}
|
||||
|
||||
public List<AlbumResource> GetAlbumsInArtist(int artistId)
|
||||
public List<AlbumResource> GetAlbumsInArtist(int authorId)
|
||||
{
|
||||
var request = BuildRequest("?artistId=" + artistId.ToString());
|
||||
var request = BuildRequest("?authorId=" + authorId.ToString());
|
||||
return Get<List<AlbumResource>>(request);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
using System.Collections.Generic;
|
||||
using Readarr.Api.V1.Tracks;
|
||||
using RestSharp;
|
||||
|
||||
namespace NzbDrone.Integration.Test.Client
|
||||
{
|
||||
public class TrackClient : ClientBase<TrackResource>
|
||||
{
|
||||
public TrackClient(IRestClient restClient, string apiKey)
|
||||
: base(restClient, apiKey, "track")
|
||||
{
|
||||
}
|
||||
|
||||
public List<TrackResource> GetTracksInArtist(int artistId)
|
||||
{
|
||||
var request = BuildRequest("?artistId=" + artistId.ToString());
|
||||
return Get<List<TrackResource>>(request);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user