Companion
object Companion
Types
Link copied to clipboard
data class ActivitiesResponse(val all: String?, val tv_shows: SimklApi.Companion.ActivitiesResponse.UpdatedAt, val anime: SimklApi.Companion.ActivitiesResponse.UpdatedAt, val movies: SimklApi.Companion.ActivitiesResponse.UpdatedAt)
Link copied to clipboard
data class AllItemsResponse(val shows: List<SimklApi.Companion.AllItemsResponse.ShowMetadata> = emptyList(), val anime: List<SimklApi.Companion.AllItemsResponse.ShowMetadata> = emptyList(), val movies: List<SimklApi.Companion.AllItemsResponse.MovieMetadata> = emptyList())
https://simkl.docs.apiary.io/#reference/sync/get-all-items/get-all-items-in-the-user's-watchlist
Link copied to clipboard
Link copied to clipboard
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 rated_at: String? = null) : SimklApi.Companion.MediaObject
Link copied to clipboard
open class MediaObject(val title: String?, val year: Int?, val ids: SimklApi.Companion.MediaObject.Ids?, val total_episodes: 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
class RatingMediaObject(val title: String?, val year: Int?, val ids: SimklApi.Companion.MediaObject.Ids?, val rating: Int, val rated_at: String? = getDateTime(unixTime)) : SimklApi.Companion.MediaObject
Link copied to clipboard
https://simkl.docs.apiary.io/#reference/users/settings/receive-settings
Link copied to clipboard
Link copied to clipboard
class SimklScoreBuilder
Link copied to clipboard
class StatusMediaObject(val title: String?, val year: Int?, val ids: SimklApi.Companion.MediaObject.Ids?, val to: String, val watched_at: String? = getDateTime(unixTime)) : SimklApi.Companion.MediaObject
Link copied to clipboard
data class StatusRequest(val movies: List<SimklApi.Companion.MediaObject>, val shows: List<SimklApi.Companion.MediaObject>)
Link copied to clipboard
Set of sync services simkl is compatible with. Add more as required: https://simkl.docs.apiary.io/#reference/search/id-lookup/get-items-by-id
Link copied to clipboard
Link copied to clipboard
Properties
Functions
Link copied to clipboard
fun addIdToString(idString: String?, database: SimklApi.Companion.SyncServices, id: String?): String?
The ID string is a way to keep a collection of services in one single ID using a map This adds a database service (like imdb) to the string and returns the new string.
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
Read the id string to get all other ids