Skip to content

A web application that creates a playlist corresponding with the current weather. Made via Flask.

Notifications You must be signed in to change notification settings

ithinkitskevin/WeatherSpotifyPredictor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spotify-weather

This Flask app uses your zip code to first get the current weather. With that weather, it'll look through your top-played tracks and get top 5 songs that correlate with the weather. Uses the top 5 song as seeds to get recommendation from Spotify. With the recommendation tracks, this app will create a playlist with the recommendation tracks.

Screenshots

localhost:8080 Home Screenshot

localhost:8080/callback/q Recommend Screenshot

References

Utilizes Flask with Python 3.7 and Spotify API & OpenWeatherMap API with OAuth 2.0 Authentication.

What can be done better

In recommendation tracks, you're allowed to put in audio_features. So correlate audio_features and weather together to come up with better recommendation system.

Also, changing the weight of audio_features fields so that the results are better.

About

A web application that creates a playlist corresponding with the current weather. Made via Flask.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published