Huge refactoring

Added person info provider
Added person image provider
Added trailers fetching
This commit is contained in:
PingWin committed 2021-05-22 22:21:08 +00:00
1 parent 35ce5536be
commit fce88168e8
43 files changed
+4381 -540

No files matched your search

@@ -0,0 +1,15 @@
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);
}
}