mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 00:25:54 +03:00
[GH-ISSUE #218] Not able to view user's song library or tracks. #112
Labels
No labels
api-bug
bug
dependencies
documentation
duplicate
enhancement
external-ide
headless-mode
implicit-grant-flow
invalid
missing-endpoint
pr-welcome
private-api
pull-request
question
spotipy3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotipy#112
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @JLDevOps on GitHub (Oct 9, 2017).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/218
Hi,
I was looking at the authorization flow for my script and was able to complete the steps.
However, when I run the following example code (at the bottom), the output is my song-library and not another user's library. Is it possible to retrieve a user's library?
Running -
python spotify-test.py 12122333515as a test, would result in my library and not theirs.@ritiek commented on GitHub (Oct 9, 2017):
I wrote some code to perform this in the past. There you go:
Usage:
python spotify-test.py username@JLDevOps commented on GitHub (Oct 9, 2017):
@ritiek Thanks Ritiek for the big help. This works perfectly.
@tatoosh commented on GitHub (Feb 9, 2018):
@ritiek ile
do i have to set globals before running ?
"scode.py", line 14, in generate_token
client_id=client_id,
NameError: global name 'client_id' is not defined
@ritiek commented on GitHub (Feb 9, 2018):
@tatoosh You need to modify
generate_token()to replace it with your actual Client ID and Client Secret you received from Spotify.@tatoosh commented on GitHub (Feb 9, 2018):
@ritiek ok, thought this could be args vor global vars. Thx