Use playlist_from_top_tracks.py
to create a playlist from your Last.FM top tracks.
lfmkey = "LASTFM_API_KEY"
spId = "SPOTIFY_CLIENT_ID"
spSecret = "SPOTIFY_CLIENT_SECRET"
lastFmUser = "YOUR_LAST_FM_USERNAME"
spotifyCredsFile = "spotifyCreds.json" # does not need to be changed unless you would like to store your credentials someplace else. (stored in plain text, sorry)