Created
July 10, 2023 10:00
-
-
Save zurche/7b5945cf68fbfe74b0bc2a22669b85a7 to your computer and use it in GitHub Desktop.
Movies API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface MoviesAPI { | |
@GET("movie/top_rated") | |
suspend fun getTopRatedMovies( | |
@Query("api_key") apiKey: String, | |
@Query("language") language: String = "en-US", | |
@Query("page") page: Int | |
): TMDBResponse<MovieResponse> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment