Questions tagged [spotipy]

Spotipy is a lightweight Python library for the Spotify Web API. With Spotipy you get full access to all of the music data provided by the Spotify platform.

474 questions
-1
votes
2 answers

Getting specific lines from a print in Python with Spotipy

I am writing some code with Python and Spotipy and I'm relatively new to coding. I have some code that get all the info about a Spotify playlist and prints it out for me: from spotipy.oauth2 import SpotifyClientCredentials import spotipy import…
-1
votes
2 answers

Python - Using functions and creating dataframes

I am fairly new to python and I have started working/creating different projects. In a project I'm using Spotipy to grab an artists discography. I have the code below that grabs the artist information and calls another function show_album_tracks def…
-1
votes
1 answer

Python pass value to command line

I am writing a web app using Flask, Python and Spotipy (https://spotipy.readthedocs.io/en/latest/). Spotipy requires an authentication token, that just has the user enter a url they were directed to after logging into Spotify and checks that against…
-2
votes
1 answer

Get Track Image in Spotipy

I am trying to get the currently playing track's cover to put on a separate window. I am using Spotipy, and I cannot seem to find how to get the track's image. Is there any way to get the cover using Spotipy?
random
  • 62
  • 1
  • 7
-2
votes
1 answer

Times a song has been played on Spotify using spotipy

Is there a way to get the field number that a song has been played on a playlist on a specific country using spotipy?
-2
votes
1 answer

Trying to get metadata of tracks in spotify

currently I try to get metadata of tracks in spotify using the python library spotipy. Has anyone any idea if there is already an existing app? To specify my problem I wanna know how often a track was streamed with spotify. I searched the internet…
soulwreckedyouth
  • 465
  • 1
  • 3
  • 12
-2
votes
1 answer

(spotipy) method never completes because it ends up at oauth redirect url's view

I am trying to use spotipy to execute a search request from Spotify. I specified the client id, secret id and redirect url (http://127.0.0.1:8000/callback/q) in my bash_profiles, as described in the API. def search(username, query): token =…
tara
  • 19
  • 1
  • 7
-3
votes
1 answer

Spotipy library cannot access episodes using show_episodes function

I am using the spotipy published library to connect to Spotify API. In order to get some data about podcast episodes. When I access the function sp.search i get back a dictionary with all the data I need, but when I enter the show id or uri to get…
1 2 3
31
32