mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-06-19 01:03:53 +00:00
Remove unused imports
All imported modules that were note used in examples
have been removed.
This commit is contained in:
parent
4c2c1d763a
commit
0eeeeb4a50
@ -1,7 +1,6 @@
|
||||
|
||||
# Adds tracks to a playlist
|
||||
|
||||
import pprint
|
||||
import sys
|
||||
|
||||
import spotipy
|
||||
|
||||
@ -2,8 +2,6 @@
|
||||
|
||||
import pprint
|
||||
import sys
|
||||
import os
|
||||
import subprocess
|
||||
|
||||
import spotipy
|
||||
import spotipy.util as util
|
||||
|
||||
@ -2,10 +2,7 @@
|
||||
|
||||
from __future__ import print_function # (at top of module)
|
||||
from spotipy.oauth2 import SpotifyClientCredentials
|
||||
import json
|
||||
import spotipy
|
||||
import time
|
||||
import sys
|
||||
|
||||
|
||||
client_credentials_manager = SpotifyClientCredentials()
|
||||
|
||||
@ -1,11 +1,9 @@
|
||||
# Shows the top artists for a user
|
||||
|
||||
import pprint
|
||||
import sys
|
||||
|
||||
import spotipy
|
||||
import spotipy.util as util
|
||||
import simplejson as json
|
||||
|
||||
if len(sys.argv) > 1:
|
||||
username = sys.argv[1]
|
||||
|
||||
@ -2,7 +2,6 @@
|
||||
|
||||
import spotipy
|
||||
import sys
|
||||
import pprint
|
||||
|
||||
if len(sys.argv) > 1:
|
||||
urn = sys.argv[1]
|
||||
|
||||
@ -2,7 +2,6 @@
|
||||
|
||||
import spotipy
|
||||
import sys
|
||||
import pprint
|
||||
import spotipy.util as util
|
||||
|
||||
if len(sys.argv) > 1:
|
||||
|
||||
@ -2,7 +2,6 @@
|
||||
|
||||
import spotipy
|
||||
import sys
|
||||
import pprint
|
||||
import spotipy.util as util
|
||||
|
||||
if len(sys.argv) > 1:
|
||||
|
||||
@ -3,7 +3,6 @@
|
||||
|
||||
import spotipy
|
||||
import sys
|
||||
import pprint
|
||||
|
||||
if len(sys.argv) > 1:
|
||||
artist_name = sys.argv[1]
|
||||
|
||||
@ -1,9 +1,6 @@
|
||||
# shows a user's playlists (need to be authenticated via oauth)
|
||||
|
||||
import pprint
|
||||
import sys
|
||||
import os
|
||||
import subprocess
|
||||
|
||||
import spotipy
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user