Files
jellyfin-plugin-kinopoisk/src/KinopoiskUnofficialInfo.ApiClient/IKinopoiskApiClient.cs
T
PingWin fce88168e8 Huge refactoring
Added person info provider
Added person image provider
Added trailers fetching
2021-05-22 22:21:08 +00:00

16 lines
711 B
C#

using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace KinopoiskUnofficialInfo.ApiClient
{
public interface IKinopoiskApiClient
{
Task<PersonResponse> GetPerson(int personId, CancellationToken? cancellationToken = null);
Task<Film> GetSingleFilm(int filmId, CancellationToken? cancellationToken = null);
Task<ICollection<StaffResponse>> GetStaff(int filmId, CancellationToken? cancellationToken = null);
Task<VideoResponse> GetTrailers(int filmId, CancellationToken? cancellationToken = null);
Task<FilmSearchResponse> SearchByKeyword(string keyword, int page = 1, CancellationToken? cancellationToken = null);
}
}