Earlier today I had no problem accessing the Spotipy API but all of a sudden it stopped working. When I forexample run the following:
spotipy.artist("5rSXSAkZ67PYJSvpUpkOr7")
Where 5rSXSAkZ67PYJSvpUpkOr7
is the Spotify ID of an artist, I get the error:
AttributeError: module 'spotipy' has no attribute 'artist'
The closest thing to an explanation I have found is this thread. But I don't completely understand the solution.