getTrack

suspend fun getTrack(track: String, market: Market? = null): Track?

Get Spotify catalog information for a single track identified by its unique Spotify ID.

Api Reference

Return

possibly-null Track. This behavior is the same as in getTracks

Parameters

track

The id or uri for the track.

market

Provide this parameter if you want to apply Track Relinking

Sources

common source
Link copied to clipboard