Coder Social home page Coder Social logo

collage-from-spotify-playlist-artwork's Introduction

Create your own collage from a Spotify playlist artwork!

Example:

Screenshot

This package was created in Python and uses the following libraries:

PIL https://pillow.readthedocs.io/en/3.0.x/installation.html

spotipy https://spotipy.readthedocs.io/en/latest/#installation

Tested in Python 3 and highly likely to be compatible with previous versions.

Usage

You need to obtain your client_id and client_secret keys from your Spotify account. Do it here: https://developer.spotify.com/dashboard/login

Once the keys are obtained, insert them in the client_credentials_manager variable:

client_credentials_manager = SpotifyClientCredentials(client_id='client_id', client_secret='client_secret')

In the variable uri_playlist insert your Spotify playlist public URI in format spotify:user:X:playlist:X

Example URI used to generate the header here: spotify:user:pni7wap5hz63vkm7171v8ki4t:playlist:5IPFs3X63PmgGnfjqAtO2e

Finally, modify the variable root to specify a path where to save the artwork images and to save the collage.

Have fun :)

credits to Delimitry for collage routine: https://github.com/delimitry/collage_maker

Made with ❤️ at MIT

Feedback? contact me at @konet

collage-from-spotify-playlist-artwork's People

Contributors

omarcr avatar

Stargazers

 avatar

Watchers

 avatar

collage-from-spotify-playlist-artwork's Issues

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.