Types
Link copied to clipboard
@Serializable
Link copied to clipboard
@Serializable
https://simkl.docs.apiary.io/#reference/sync/get-all-items/get-all-items-in-the-user's-watchlist
Link copied to clipboard
data class HistoryMediaObject(val title: String? = null, val year: Int? = null, val ids: SimklApi.Companion.MediaObject.Ids? = null, val seasons: List<SimklApi.Companion.MediaObject.Season>? = null, val episodes: List<SimklApi.Companion.MediaObject.Season.Episode>? = null, val rating: Int? = null, val ratedAt: String? = null)
Link copied to clipboard
data class HistoryRequest(val movies: List<SimklApi.Companion.HistoryMediaObject>, val shows: List<SimklApi.Companion.HistoryMediaObject>)
Same shape as StatusRequest, for the endpoints that post HistoryMediaObjects instead.
Link copied to clipboard
data class MediaObject(val title: String?, val year: Int?, val ids: SimklApi.Companion.MediaObject.Ids?, val totalEpisodes: Int? = null, val status: String? = null, val poster: String? = null, val type: String? = null, val seasons: List<SimklApi.Companion.MediaObject.Season>? = null, val episodes: List<SimklApi.Companion.MediaObject.Season.Episode>? = null)
https://simkl.docs.apiary.io/#introduction/about-simkl-api/standard-media-objects Useful for finding shows from metadata.
Link copied to clipboard
Link copied to clipboard
@Serializable
Link copied to clipboard
data class RatingMediaObject(val title: String? = null, val year: Int? = null, val ids: SimklApi.Companion.MediaObject.Ids? = null, val rating: Int, val ratedAt: String? = getDateTime(APIHolder.unixTime))
Link copied to clipboard
@Serializable
https://simkl.docs.apiary.io/#reference/users/settings/receive-settings
Link copied to clipboard
Link copied to clipboard
class SimklScoreBuilder
Link copied to clipboard
data class StatusMediaObject(val title: String? = null, val year: Int? = null, val ids: SimklApi.Companion.MediaObject.Ids? = null, val to: String, val watchedAt: String? = getDateTime(APIHolder.unixTime))
Link copied to clipboard
data class StatusRequest(val movies: List<SimklApi.Companion.StatusMediaObject>, val shows: List<SimklApi.Companion.StatusMediaObject>)
Link copied to clipboard
@Serializable
Functions
Link copied to clipboard
1409562611 -> 2014-09-01T09:10:11Z
Link copied to clipboard
suspend fun getEpisodes(simklId: Int?, type: String?, episodes: Int?, hasEnded: Boolean?): Array<SimklApi.Companion.EpisodeMetadata>?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard