Inspiration

Discord and Spotify are both services that we use very often, and currently the integration between the two applications is very limited. Although there is specific information about what a user is listening to, there is no way to access general and specific information about artists and songs. Statistify aims to give discord users an easy and convenient way to share a large variety of information from Spotify with other users.

What it does

Through various commands, users are able to get relevant data about songs, artists, or users such as the duration of a song, the artist, and an artists' most popular tracks.

How we built it

We built our discord bot using discord.py, a python library used to interact with the discord api. We also used another python library called Spotipy which allows easy access to the various Soptify api endpoints.

Challenges we ran into

We ran into numerous challenges throughout this project such as a clean and simple implementation of pagination for the various embed objects. The solution we settled on used buttons to give users a nicer experience as well as make the programming side easier. Another challenge we ran into was parsing the data from the Spotify endpoints correctly.

Accomplishments that we're proud of

We are proud of our implementation of the new discord ui components such as the button and select menu. We are also proud of our use of matplotlib in order to create graphs to help users visualize the data being presented.

What we learned

We learned a lot about interacting with apis and parsing and using data correctly.

What's next for Statistify - Integration of Technologies

We would like to implement more features in the future such as specific user information including a users most played tracks. We would also like to give the user more flexibility with the data presented through filters.

Built With

Share this project:

Updates