MovieHunt blog part2. api service add api key parameter
interface MovieApiService { | |
@GET("movie/{list}") | |
fun fetchMovieList( | |
... | |
@Query("api_key") apiKey: String | |
): Single<TmdbApiResponse<MovieListResponse>> | |
@GET("movie/{movieId}") | |
fun fetchMovieDetail( | |
... | |
@Query("api_key") apiKey: String | |
): Single<MovieDetailResponse> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment