Skip to content

Spotify Stats Desktop App is a Java-based desktop application designed to fetch user statistics from the Spotify API. The app provides a user-friendly interface for easy access to various features related to data analysis of music playback.

License

Notifications You must be signed in to change notification settings

kubsikora/SpotifyStatsApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spotify Stats App

Spotify Stats Desktop App is a Java-based desktop application designed to fetch user statistics from the Spotify API. App is made fully with a though about polish language users. The app provides a user-friendly interface for easy access to various features related to data analysis of music playback.

Introduction

Watch the video

The application is designed to operate within a single window. The Auth0 authorization process takes place in a web browser window automatically triggered when the user clicks "Log in."

In case of any issues, users can click "Coś poszło nie tak?" providing them with the option to connect their accounts by copying the token directly from the Spotify developer website.

The application dynamically fetches all data in real-time from the Spotify API, ensuring that no information is stored locally on the client's PC. This deliberate choice prioritizes data security and privacy. Because of that, the time required to display certain albums or statistics may be extended.

Watch the video

The color scheme of the project draws inspiration from the desktop version of the Spotify app, utilizing predominantly three colors (excluding black and white) for simplification.

Color Hex
Main window bg color #4f4e4e #4f4e4e
Container bg color #1f1f1f #1f1f1f
Contrast color #009d3c #009d3c

How it works

The main app is entirely built in Java, with a slight contribution from HTML and JS, which is responsible exclusively for Auth0 authorization. The website is hosted on a basic Java localhost server built within the application. Upon successful login to the Spotify account, JS generates a token on the server and directly provides it to the Main class. If the token provided by JS is incorrect, the app won't allow the user to proceed. The Main class utilizes the token to fetch data directly from the server and presents it to the user. It's noteworthy that the token is available for only one hour using this approach.

Functionality

The application is primarily designed for examining your top songs, artists, and albums over various time periods. However, it goes beyond that, offering insights such as your favorite genre, identifying the artist with the greatest influence on your top songs, and revealing the preferred music era. Additionally, the application provides a comprehensive track list for each album, displays the popularity ("posłuch") of every song, artist, and album, and suggests three songs similar to your chosen one.

Organization

Website - provides you with full HTML and JS code used for autoryzation and redirecting to spotify website.

Src - complete Java source code of the App.

Images - all images essential for proper functioning of App.

Related

The complete walkthrough of the app functionality is available on Youtube .

About

Spotify Stats Desktop App is a Java-based desktop application designed to fetch user statistics from the Spotify API. The app provides a user-friendly interface for easy access to various features related to data analysis of music playback.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages