Inspiration

We were inspired by Snoop Dogg's masterpiece song "Affirmations".

What it does

It's like Bacon number but with Snoop Dogg as Kevin Bacon.

How we built it

We used Python for the backend and Flask/Pyvis for the frontend.

Challenges we ran into

Spotify has limitations on how much you can query from their API, and Snoop Dogg is a very prolific artist with many collaborators! So halfway through the project, we had to switch from "collaborators" to "related artists" for the graph for performance reasons.

Accomplishments that we're proud of

We built a whole thing! We worked really hard on the back button as well.

What we learned

We learned about how to design efficient data structures and how to store data server vs client-side. We also learned a lot about styling in CSS, which was a lot of fun! The Spotify API was also super fun to work with, and this was our first time building anything with Flask too.

What's next for Dogg Number

We really loved working with the Spotify API and will probably continue to do Spotify-related projects together in the future. One improvement we want to make on this project is to actually use "collaborators" instead of "related artists" like we originally intended. We also could probably make a lot of improvements to the UI.

Share this project:

Updates