function to get albums from an artist using their ID
Usage
getAlbums(artist_id, market = "US", token)
Arguments
artist_id
The Spotify ID for the artist.
market
Optional. An ISO 3166-1 alpha-2 country code. Supply this parameter to limit the response to one particular geographical market. For example, for albums available in Sweden: market=SE.