getAlbumTracks

suspend fun getAlbumTracks(id: String, market: CountryCode? = null, pagingOptions: PagingOptions = PagingOptions()): SpotifyApiResponse<AlbumTracks>

Gets tracks from a Spotify album.

Return

Wrapped Spotify API response with status code and parsed Spotify payload.

Parameters

id

Spotify ID of the target resource for this endpoint.

market

Market (country) code used to localize and filter content.

pagingOptions

Paging options (limit, offset) used for paged endpoints.