   pluck
   sortBy
 } = require 'lodash-node'
+
+market = 'US'
 
 _apiUrl = (method, params) ->
   """The URL for an API call"""

  # https://api.spotify.com/v1/artists/2qc41rNTtdLK0tV3mJn2Pm/albums?market=US&limit=50&offset=0

  result = apiCall.sync "artists/#{ artistId }/albums",
    market: 'US'
    limit: 50
    offset: 0


  result = apiCall.sync 'search',
    q: artistName
    type: 'artist'
    market: market
    limit: 1
    offset: 0

