Skip to content

Spotify App needs refactoring to reduce code repetition #62

@AsquaredWsquared

Description

@AsquaredWsquared

We can spin these lines off into a separate file to stop repeating ourselves

    cache_handler = spotipy.cache_handler.CacheFileHandler(cache_path=session_cache_path(request))
    auth_manager = spotipy.oauth2.SpotifyOAuth(cache_handler=cache_handler)

    spotify = spotipy.Spotify(auth_manager=auth_manager)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions