GithubHelp home page GithubHelp logo

georged88 / artist-recommendations Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 514 KB

Given some artists, it will grab each artist's top 3 songs and 3 random songs, and then creates a playlist out of the pulled songs.

Python 100.00%
python python3 api spotify spotify-api spotify-web-api spotify-recommendations

artist-recommendations's Introduction

Artist-Recommendations

This project was a quick 2 hour speed code I did as a fun challenge for myself. What Artist Recommendations does is given some artists, it will grab each artist's top 3 songs and 3 random songs, and then creates a playlist out of the pulled songs.
Unfortunately the screen recording of the coding session only recorded audio for some reason :,(

Running the script

Note before running, you might end up with wrong artists if your entry wouldn't come up first in Spotify search results, so using links instead is favorable.

The file accepts 0 to 2 arguments:

  • 0 args: uses default values
  • 1 args: uses same value for both number of popular songs and random songs
  • 2 args: uses first and second value for each value respectively
$ python3 recommend_artists.py
$ python3 recommend_artists.py 3
$ python3 recommend_artists.py 3 5

Once you run it, you will be asked which artists (through link or name) you'd like songs from and then what you'd like to name the playlist. Once it finishes running, you'll have a new playlist.

Below is an example run
Genre Map Genre Map

artist-recommendations's People

Contributors

georged88 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.