CSC207-fiveguys / music-java-app

MIT License
1 stars 1 forks source link

Get top tracks method and Factory classes #32

Closed HussainE4 closed 11 months ago

HussainE4 commented 11 months ago

Motivation and Context

This PR adds the get top tracks method to act as an interface for the Spotify api call implemented by Brian. This is required for the follow artist use case. Also, adds Factory classes for entities as we are required to use 2 Design Patterns

Your Changes

Description: Added the get top tracks method in Spotify dao which takes in an Artist ID and returns an ArrayList of their Top Tracks. Added Factory classes for all the entities and updated Dao's to use them Type of change (select all that apply):

Testing

Questions and Comments (if applicable)

Checklist