Spotify Playlist Creator

Spotify

I was inspired to make this program after my friend wanted to separate their liked songs into different vibes so they could shuffle play.

I used the Spotify API to access a users account. To authenticate the account, a browser tab is opened with a sign in page. You can then choose a variable such as energy level or genre, to be created. The source for the songs is then specified, with the program printing out a list of your public playlists. Type the name of a playlist to create the new playlist.

Additionally the “stats” feature takes your saved tracks and gives you information about them. For example, it gives you the average tempo of your songs, and the highest and lowest of Spotify-generated variables which describe the song’s danceability, energy level, loudness, “speehiness” and “liveness”.

Corona Clock

This was my first adventure into IoT/electronics.

The idea came when I found an API which served data relating to the COVID pandemic. I researched how to connect a seven segment display to a Raspberry Pi, using the GPIO pins. I also discovered I2C which is a brilliant way to connect electronic devices with only 2 wires: one for data and one to sync the clock.

I then made a little box for my electronics using some old insulation.

The device used the API to display the number of people who had recovered from coronavirus globally.