public Task <RatedMoviesResponse> GetRatedMovie(MovieRequest request, string sortBy) { string uri = $"guest_session/{request.Guest_session_id}/rated/movies?api_key={request.Api_key}&language={request.Language}&sort_by={sortBy}"; return(ApiHelper.GetMovieApi <RatedMoviesResponse>(uri, _httpClient)); }
public Task <GenreResponse> GetListGenre(SearchRequest request) { string uri = $"genre/movie/list?api_key={request.Api_key}&language={request.Language}"; return(ApiHelper.GetMovieApi <GenreResponse>(uri, _httpClient)); }
public Task <GuessSessionResponse> CreateGuessSession(MovieRequest request) { string uri = $"authentication/guest_session/new?api_key={request.Api_key}"; return(ApiHelper.GetMovieApi <GuessSessionResponse>(uri, _httpClient)); }