getNewReleases

suspend fun getNewReleases(limit: Int? = api.spotifyApiOptions.defaultLimit, offset: Int? = null, market: Market? = null): PagingObject<SimpleAlbum>(source)

Get a list of new album releases featured in Spotify (shown, for example, on a Spotify player’s “Browse” tab).

Api Reference

Return

PagingObject of new album released, ordered by release date (descending)

Parameters

limit

The number of objects to return. Default: 50 (or api limit). Minimum: 1. Maximum: 50.

offset

The index of the first item to return. Default: 0. Use with limit to get the next set of items

market

Provide this parameter if you want the list of returned items to be relevant to a particular country. If omitted, the returned items will be relevant to all countries.

Throws

if filter parameters are illegal