[PR #904] [MERGED] Getting Started Clarifications and Example Code File #1073

Closed
opened 2026-02-28 00:03:29 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/spotipy-dev/spotipy/pull/904
Author: @masstep
Created: 11/30/2022
Status: Merged
Merged: 12/10/2022
Merged by: @stephanebruckert

Base: masterHead: master


📝 Commits (10+)

  • 6eb4783 added URI link to README getting started
  • aa3013a revised comment
  • 9a37e07 added alternate module installation instruction
  • 9e0601c installation troubleshooting comment
  • 5aed618 scope clarification comment
  • da3e85a added playlist_add_items.py to examples folder
  • b1ad510 reformatted changelog edits
  • 87d5e0a Relocated added contributions to added section in Changelog
  • b12b5df Merge branch 'master' into master
  • 0f0bb51 removed unnecessary library installation instruction

📊 Changes

4 files changed (+26 additions, -0 deletions)

View changed files

📝 CHANGELOG.md (+4 -0)
📝 README.md (+8 -0)
examples/playlist_add_items.py (+13 -0)
📝 examples/show_artist_top_tracks.py (+1 -0)

📄 Description

As part of a computer science course, I recently followed the spotipy getting started and made notes of any issues I ran into. I have now added comments in areas that caused me trouble while trying to run some of the features.

initially I had issues with installing and accessing the spotipy library with the listed installation instruction.

I also noticed not all of the same information is provided in the github repo as on the website under getting started. I understand the the repo points to the website for extensive information, however the README lacks any mention of how to get the URI redirect for Authorization Code Flow.

I had issues with the add_track_to_playlist function, but came across the user_playlist_add_tracks function on the website. When I tried to run this function I was informed in pyCharm to use playlist_add_items instead. Neither of the latter 2 functions are in the examples folder, so I thought it would be good to have an alternate example for adding tracks to playlists.


🔄 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/spotipy-dev/spotipy/pull/904 **Author:** [@masstep](https://github.com/masstep) **Created:** 11/30/2022 **Status:** ✅ Merged **Merged:** 12/10/2022 **Merged by:** [@stephanebruckert](https://github.com/stephanebruckert) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (10+) - [`6eb4783`](https://github.com/spotipy-dev/spotipy/commit/6eb4783163b5d5dd55f366479d07e5c14de80076) added URI link to README getting started - [`aa3013a`](https://github.com/spotipy-dev/spotipy/commit/aa3013a83389ed0d714c895186ed2927f5acc9cc) revised comment - [`9a37e07`](https://github.com/spotipy-dev/spotipy/commit/9a37e07c618a75a617a7776e120c57e63d4af5ad) added alternate module installation instruction - [`9e0601c`](https://github.com/spotipy-dev/spotipy/commit/9e0601c013162b9f4872cc2a12fc0bb70cd16d5f) installation troubleshooting comment - [`5aed618`](https://github.com/spotipy-dev/spotipy/commit/5aed618a3be6a3c497f8fe5885dede6de5cc8b33) scope clarification comment - [`da3e85a`](https://github.com/spotipy-dev/spotipy/commit/da3e85a213b3f5359aac6437e22213e9216d7bba) added playlist_add_items.py to examples folder - [`b1ad510`](https://github.com/spotipy-dev/spotipy/commit/b1ad51055ca0987bc17a9342c3e9f3c0e852eed8) reformatted changelog edits - [`87d5e0a`](https://github.com/spotipy-dev/spotipy/commit/87d5e0ac4386a23f1710f3e8d1bfcd25c82236cf) Relocated added contributions to added section in Changelog - [`b12b5df`](https://github.com/spotipy-dev/spotipy/commit/b12b5df592e3f60d217c890e3ae195955a3b56e8) Merge branch 'master' into master - [`0f0bb51`](https://github.com/spotipy-dev/spotipy/commit/0f0bb512e3ec666d73c000f6a1a3f0f3a9c48a1f) removed unnecessary library installation instruction ### 📊 Changes **4 files changed** (+26 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+4 -0) 📝 `README.md` (+8 -0) ➕ `examples/playlist_add_items.py` (+13 -0) 📝 `examples/show_artist_top_tracks.py` (+1 -0) </details> ### 📄 Description As part of a computer science course, I recently followed the spotipy getting started and made notes of any issues I ran into. I have now added comments in areas that caused me trouble while trying to run some of the features. initially I had issues with installing and accessing the spotipy library with the listed installation instruction. I also noticed not all of the same information is provided in the github repo as on the website under getting started. I understand the the repo points to the website for extensive information, however the README lacks any mention of how to get the URI redirect for Authorization Code Flow. I had issues with the add_track_to_playlist function, but came across the user_playlist_add_tracks function on the website. When I tried to run this function I was informed in pyCharm to use playlist_add_items instead. Neither of the latter 2 functions are in the examples folder, so I thought it would be good to have an alternate example for adding tracks to playlists. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 00:03:29 +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/spotipy#1073
No description provided.