sync trakt list to collection (#381)

* sync trakt list to collection

* move trakt client id
This commit is contained in:
Jason Dove
2021-09-20 18:46:03 -05:00
committed by GitHub
parent 5439db89a7
commit 45c6d20fd0
21 changed files with 644 additions and 3 deletions
@@ -0,0 +1,18 @@
using System.Collections.Generic;
using System.Threading.Tasks;
using ErsatzTV.Infrastructure.Trakt.Models;
using Refit;
namespace ErsatzTV.Infrastructure.Trakt
{
[Headers("Accept: application/json", "trakt-api-version: 2")]
public interface ITraktApi
{
[Get("/users/{user}/lists/{list}/items")]
Task<List<TraktListItem>> GetUserListItems(
[Header("trakt-api-key")]
string clientId,
string user,
string list);
}
}