[GH-ISSUE #165] Is it possible to create a python code for listening to preview but without logged in ( for visitors) #79

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

Originally created by @tldoan on GitHub (Feb 22, 2017).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/165

Hi,

I would like to add a play button on my blog so that any visitors can listen to the music but I read that it request people login??
Is there any way to circumvent that?

Thanks!

Also where can I find a complete code lines for python other than github which I find it is not very easy for beginner to understand which files correspond to what and how to assemble that.

Originally created by @tldoan on GitHub (Feb 22, 2017). Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/165 Hi, I would like to add a play button on my blog so that any visitors can listen to the music but I read that it request people login?? Is there any way to circumvent that? Thanks! Also where can I find a complete code lines for python other than github which I find it is not very easy for beginner to understand which files correspond to what and how to assemble that.
kerem closed this issue 2026-02-27 23:20:44 +03:00
Author
Owner

@JohannesAck commented on GitHub (Feb 23, 2017):

Yes, it is!

The "get a track" request has a property called "preview_url", which includes a link to a 30s MP3 preview.

<!-- gh-comment-id:281955164 --> @JohannesAck commented on GitHub (Feb 23, 2017): Yes, it is! The ["get a track" ](https://developer.spotify.com/web-api/get-track/) request has a property called "preview_url", which includes a link to a 30s MP3 preview.
Author
Owner

@tldoan commented on GitHub (Feb 23, 2017):

ok thanks!

btw is it possible to get social tags about artist album tracks etc.. ? (provided by users on the internet ideally)

<!-- gh-comment-id:282025532 --> @tldoan commented on GitHub (Feb 23, 2017): ok thanks! btw is it possible to get social tags about artist album tracks etc.. ? (provided by users on the internet ideally)
Author
Owner

@JohannesAck commented on GitHub (Feb 23, 2017):

I'm not sure what you mean by social tags, the only thing I know of that sounds like tags to me is genre information about artists, which you can obtain with get_artist.
Otherwise feel free to consult the Spotify API documentation here.

<!-- gh-comment-id:282030947 --> @JohannesAck commented on GitHub (Feb 23, 2017): I'm not sure what you mean by social tags, the only thing I know of that sounds like tags to me is genre information about artists, which you can obtain with get_artist. Otherwise feel free to consult the Spotify API documentation [here](https://developer.spotify.com/web-api/).
Author
Owner

@stephanebruckert commented on GitHub (Jan 11, 2020):

@JohannesAck seems to answer the questions, closing

<!-- gh-comment-id:573344013 --> @stephanebruckert commented on GitHub (Jan 11, 2020): @JohannesAck seems to answer the questions, closing
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#79
No description provided.