getGenres

abstract suspend fun getGenres(): ApiResponse<Genres, ErrorBody>(source)

Get genres API returns the available genres.

Return

Genres when success and ErrorBody when error.