Inspiration

Our inspiration was based around our group's love of long drives, ranging from long road trips into the mountains or getting some late-night snacks from Sonic, and the perfect playlist for that drive.

What it does

Our program uses Mapbox APIs to find the proper coordinates of the origin of the trip, and the destination, which the user can input into the app. Once the two coordinates are determined, the Mapbox API calculates the drive's length, including traffic, to generate the perfect length playlist for the user's planned drive (assuming traffic does not change much). The photos attached are the mockup of what the application could look like. It is currently a terminal application.

How we built it

We used Mapbox's Directions and Geocoding APIs as well as the Spotify API with Python to develop precise coordinates. This would ensure accurate traffic data between two points and create a nearly perfect length Spotify playlist.

Challenges we ran into

We had issues with Mapbox's Geocoding coordinates as it was printing incorrectly into the URL. We had to test a few alternative modes to ensure that the URL was properly formatted. Regarding Mapbox's Directions data, we needed to ensure that the proper commute time duration was stated to the user. We also faced troubles finding a GUI that would work for us.

Accomplishments that we're proud of

We are most proud of being able to come together with all of our different skills to make a fully functional application that we are excited to use in our daily lives. We came into this project unsure of how it would turn out, but we made the most of the time given to us to complete the application and had lots of fun carefully crafting it.

What we learned

We learned how to use Mapbox API for geocoding and directions, as well as Spotify API. We learned how to create an application that combines all of our skills to create the finished product.

What's next for Spotify Journey Jams

We are hoping to upload this as a fully functional app and website combined with our other Spotify playlist projects into one cohesive application. We aim to work on the application more to improve its flexibility in picking out the correct musical artists and make it readily available for anyone to use. We are also hoping to make a shift from Python to Javascript runtime.

Built With

Share this project:

Updates