Added the get_artist and get_track methods to the SpotifyAPI so that services in the application are able to retrieve track and artist information upon receiving their artist and track ids.
Motivation and Context
We need to retrieve images and song information of our artists and tracks, meaning that after retrieving their ids from the search method, we need to use get_artist and get_track to get this information.
Your Changes
Added get_artist and get_track to SpotifyAPI.
Type of change (select all that apply):
[X] New feature (non-breaking change which adds functionality)
Testing
Questions and Comments (if applicable)
Checklist
[X] I have performed a self-review of my own code.
[X] I have added tests for my changes.
[X] Coverage tests
[X] Coding style (conforms to Google Java Style Guide)
[X] Especially follows section 7 (Javadoc is present for every public class, public or protected member)
[X] Especially follows section 4.6 (Multiple consecutive blank lines are not encouraged)
[X] Correctness (follows CA and SOLID, is a reasonable and not overly complicated solution, etc.)
[X] Description of pull request is clear, consise, and reasonably detailed
Added the get_artist and get_track methods to the SpotifyAPI so that services in the application are able to retrieve track and artist information upon receiving their artist and track ids.
Motivation and Context
We need to retrieve images and song information of our artists and tracks, meaning that after retrieving their ids from the search method, we need to use get_artist and get_track to get this information.
Your Changes
Added get_artist and get_track to SpotifyAPI.
Type of change (select all that apply):
Testing
Questions and Comments (if applicable)
Checklist