Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Kitsu Data to fetch it using Retrofit
class KitsuResponse(
val data: List<KitsuItem>)
data class KitsuItem(
val id: Int,
val type: String?,
val attributes: KitsuItemAttributes?)
data class KitsuItemAttributes(
val synopsis: String?,
val subtype: String?,
val titles: KitsuItemAttributesTitles?,
val posterImage: KitsuItemAttributesImage?)
data class KitsuItemAttributesTitles(
val en_jp: String?)
data class KitsuItemAttributesImage(
val small: String?)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment