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

  """Calls Spotify's API"""

  url = _apiUrl method, params
  response = request.sync url
  try
    JSON.parse response.body

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

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

