Skip to content

Instantly share code, notes, and snippets.

@thomaskioko
Created July 25, 2023 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thomaskioko/06910868512db1f134aa5aed3a1ef655 to your computer and use it in GitHub Desktop.
Save thomaskioko/06910868512db1f134aa5aed3a1ef655 to your computer and use it in GitHub Desktop.
override suspend fun getPopularShows(page: Long): ApiResponse<List<TraktShowResponse>, ErrorResponse> =
httpClient.safeRequest {
url {
method = HttpMethod.Get
path("shows/popular")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment