Ask Your Question
2

How does the web API of Spotify sort the items in a playlist?

asked 2021-12-22 11:00:00 +0000

woof gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2021-08-21 16:00:00 +0000

lakamha gravatar image

Spotify's web API allows for sorting of playlist items based on a few different parameters. By default, items are sorted by their position in the playlist.

However, the API provides options for sorting based on other attributes, including:

  1. track name
  2. artist name
  3. album name
  4. track popularity
  5. Recently added

Developers can use these sorting options when querying the API to retrieve playlist information in a specific order.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-12-22 11:00:00 +0000

Seen: 12 times

Last updated: Aug 21 '21