Package-level declarations

Functions

Link copied to clipboard
Link copied to clipboard
suspend fun Ktify.getAudioAnalysis(id: String): AudioAnalysis

Get a detailed audio analysis of a track

Link copied to clipboard
suspend fun Ktify.getAudioFeatures(id: String): AudioFeatures

Fetch audio features.

Link copied to clipboard
suspend fun Ktify.getRecommendations(seedArtists: List<Artist> = listOf(), seedGenres: List<String> = listOf(), seedTracks: List<Track> = listOf(), limit: Int? = null, market: String? = null, minAcousticness: Double? = null, maxAcousticness: Double? = null, targetAcousticness: Double? = null, minDanceability: Double? = null, maxDancability: Double? = null, targetDancability: Double? = null, minDurationMs: Int? = null, maxDurationMs: Int? = null, targetDurationMs: Int? = null, minEnergy: Double? = null, maxEnergy: Double? = null, targetEnergy: Double? = null, minInstrumentalness: Double? = null, maxInstrumentalness: Double? = null, targetInstrumentalness: Double? = null, minKey: Int? = null, maxKey: Int? = null, targetKey: Int? = null, minLiveness: Double? = null, maxLiveness: Double? = null, targetLiveness: Double? = null, minLoudness: Double? = null, maxLoudness: Double? = null, targetLoudness: Double? = null, minMode: Int? = null, maxMode: Int? = null, targetMode: Int? = null, minPopularity: Int? = null, maxPopularity: Int? = null, targetPopularity: Int? = null, minSpeechiness: Double? = null, maxSpeechiness: Double? = null, targetSpeechiness: Double? = null, minTempo: Double? = null, maxTempo: Double? = null, targetTempo: Double? = null, minTimeSignature: Int? = null, maxTimeSignature: Int? = null, targetTimeSignature: Int? = null, minValence: Double? = null, maxValence: Double? = null, targetValence: Double? = null): Recommendations

Get recommendations A minimum of one seed in either artists, genres or tracks has to be provided, a maximum of 5 in combination of all are allowed For parameter documentation. refer to Spotify Documentation

Link copied to clipboard
suspend fun Ktify.getSavedTracks(market: String? = null, limit: Int? = null, offset: Int? = null): PaginationObject<SavedTrack>
Link copied to clipboard
suspend fun Ktify.getSeveralAudioFeatures(ids: List<String>): List<AudioFeatures>

Fetch audio features for several tracks.

Link copied to clipboard
suspend fun Ktify.getSeveralTracks(ids: List<String>, market: String? = null): TracksResponse
Link copied to clipboard
suspend fun Ktify.getTrack(id: String, market: String? = null): Track
Link copied to clipboard
suspend fun Ktify.removeSavedTracks(ids: List<String>)

Delete tracks in the user's library. Maximum of 50 IDs, following IDs will be ignored.

Link copied to clipboard
suspend fun Ktify.saveTracks(ids: List<String>)

Save tracks in the user's library. Maximum of 50 IDs, following IDs will be ignored.