diff --git a/examples/add_tracks_to_playlist.py b/examples/add_tracks_to_playlist.py index a5297da..d0df161 100644 --- a/examples/add_tracks_to_playlist.py +++ b/examples/add_tracks_to_playlist.py @@ -1,7 +1,6 @@ # Adds tracks to a playlist -import pprint import sys import spotipy diff --git a/examples/create_playlist.py b/examples/create_playlist.py index efa334d..6cad834 100644 --- a/examples/create_playlist.py +++ b/examples/create_playlist.py @@ -2,8 +2,6 @@ import pprint import sys -import os -import subprocess import spotipy import spotipy.util as util diff --git a/examples/errors.py b/examples/errors.py index 570600f..36bcaf9 100644 --- a/examples/errors.py +++ b/examples/errors.py @@ -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() diff --git a/examples/my_playlists.py b/examples/my_playlists.py index 58e02df..a48fb0f 100644 --- a/examples/my_playlists.py +++ b/examples/my_playlists.py @@ -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] diff --git a/examples/show_artist_top_tracks.py b/examples/show_artist_top_tracks.py index a80beb8..34b5a34 100644 --- a/examples/show_artist_top_tracks.py +++ b/examples/show_artist_top_tracks.py @@ -2,7 +2,6 @@ import spotipy import sys -import pprint if len(sys.argv) > 1: urn = sys.argv[1] diff --git a/examples/show_featured_playlists.py b/examples/show_featured_playlists.py index 2c7f8d9..769037c 100644 --- a/examples/show_featured_playlists.py +++ b/examples/show_featured_playlists.py @@ -2,7 +2,6 @@ import spotipy import sys -import pprint import spotipy.util as util if len(sys.argv) > 1: diff --git a/examples/show_new_releases.py b/examples/show_new_releases.py index 5205245..c728eee 100644 --- a/examples/show_new_releases.py +++ b/examples/show_new_releases.py @@ -2,7 +2,6 @@ import spotipy import sys -import pprint import spotipy.util as util if len(sys.argv) > 1: diff --git a/examples/show_related.py b/examples/show_related.py index b78e1dc..15b3c3d 100644 --- a/examples/show_related.py +++ b/examples/show_related.py @@ -3,7 +3,6 @@ import spotipy import sys -import pprint if len(sys.argv) > 1: artist_name = sys.argv[1] diff --git a/examples/user_playlists.py b/examples/user_playlists.py index 7bcc1f5..e94e810 100644 --- a/examples/user_playlists.py +++ b/examples/user_playlists.py @@ -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