getAlbums

suspend fun getAlbums(vararg albums: String, market: Market? = null): List<Album?>(source)

Get Spotify catalog information for multiple albums identified by their Spotify IDs. Albums not found are returned as null inside the ordered list

Api Reference

Return

List of Album objects or null if the album could not be found, in the order requested

Parameters

albums

The ids or uris for the albums. Maximum 20.

market

Provide this parameter if you want to apply Track Relinking