Home

Awesome

spotify-gist

🎧 Get your last weeks listening report from Spotify in a GitHub Gist.

<p align='center'> <img src="https://github.com/mporracindie/spotify-gist/blob/main/spotify-gist-preview.png"> <h3 align="center">spotify-gist</h3> <p align="center">Update a gist to contain your monthly plays on Spotify</p> </p>

📌✨ For more pinned-gist projects like this one, check out: https://github.com/matchai/awesome-pinned-gists

✨ Inspiration

This code was heavily inspired by @jacc music-box.

🎒 Prep Work

  1. Create a new public GitHub Gist (https://gist.github.com/)
  2. Create a Spotify Application (https://developer.spotify.com/dashboard/)
  1. Copy the Client ID and Client Secret
  2. Create a github personal access token here with gist permissions

🖥 Project Setup

  1. Download this repo (or just copy the contents of this file
  2. Run pip install spotipy, PyGithub
  3. Export all the needed env variables and run the file

🤫 Environment Secrets