Stream custom live channels using your own media
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

25 lines
722 B

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}")]
Task<TraktListResponse> GetUserList(
[Header("trakt-api-key")]
string clientId,
string user,
string list);
[Get("/users/{user}/lists/{list}/items")]
Task<List<TraktListItemResponse>> GetUserListItems(
[Header("trakt-api-key")]
string clientId,
string user,
string list);
}
}