[PR #27] [MERGED] Changes to Spotify.user_playlist and Spotify.playlist methods #193

Closed
opened 2026-02-27 20:23:43 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ramsayleung/rspotify/pull/27
Author: @ritiek
Created: 11/8/2018
Status: Merged
Merged: 11/10/2018
Merged by: @ramsayleung

Base: masterHead: playlist-fields


📝 Commits (4)

  • d3c80a1 Accept fields and market parameters in Spotify.playlist and Spotify.user_playlist respectively
  • 7b4c615 Fix examples
  • 58fa8e2 Add Spotify.playlist example
  • 2144924 Fix a typo

📊 Changes

6 files changed (+62 additions, -9 deletions)

View changed files

📝 examples/current_user_saved_tracks_delete.rs (+1 -1)
examples/playlist.rs (+43 -0)
📝 examples/user_playlist.rs (+1 -1)
📝 src/spotify/client.rs (+14 -4)
📝 tests/test_with_credential.rs (+2 -2)
📝 tests/test_with_oauth.rs (+1 -1)

📄 Description

  • Added fields parameter to Spotify.playlist method.
  • Added market parameter to Spotify.user_playlist method.
  • Extract Playlist ID in Spotify.playlist before making a call (directly passing spotify:playlist:59ZbFPES4DQwEjBpWHzrtC, etc. to Spotify.playlist didn't work before).
  • Added an example playlist.rs for using Spotify.playlist method.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ramsayleung/rspotify/pull/27 **Author:** [@ritiek](https://github.com/ritiek) **Created:** 11/8/2018 **Status:** ✅ Merged **Merged:** 11/10/2018 **Merged by:** [@ramsayleung](https://github.com/ramsayleung) **Base:** `master` ← **Head:** `playlist-fields` --- ### 📝 Commits (4) - [`d3c80a1`](https://github.com/ramsayleung/rspotify/commit/d3c80a13d6f5daa5e4d84ad80a9a9e6a4f5fe1dc) Accept fields and market parameters in Spotify.playlist and Spotify.user_playlist respectively - [`7b4c615`](https://github.com/ramsayleung/rspotify/commit/7b4c61575eb84fff3f107e8873e32ee086444bbf) Fix examples - [`58fa8e2`](https://github.com/ramsayleung/rspotify/commit/58fa8e21c5f95880934c8ec34657a98cf8b41642) Add Spotify.playlist example - [`2144924`](https://github.com/ramsayleung/rspotify/commit/2144924b140ab825b33d45d8eb3538193da1bdd4) Fix a typo ### 📊 Changes **6 files changed** (+62 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `examples/current_user_saved_tracks_delete.rs` (+1 -1) ➕ `examples/playlist.rs` (+43 -0) 📝 `examples/user_playlist.rs` (+1 -1) 📝 `src/spotify/client.rs` (+14 -4) 📝 `tests/test_with_credential.rs` (+2 -2) 📝 `tests/test_with_oauth.rs` (+1 -1) </details> ### 📄 Description - Added `fields` parameter to `Spotify.playlist` method. - Added `market` parameter to `Spotify.user_playlist` method. - Extract Playlist ID in `Spotify.playlist` before making a call (directly passing `spotify:playlist:59ZbFPES4DQwEjBpWHzrtC`, etc. to `Spotify.playlist` didn't work before). - Added an example `playlist.rs` for using `Spotify.playlist` method. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 20:23:43 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/rspotify#193
No description provided.