src/spotify-web-api.js
function(options, callback) {
    return WebApiRequest.builder(this.getAccessToken())
      .withPath('/v1/me/following')
      .withHeaders({ 'Content-Type': 'application/json' })
      .withQueryParameters(
        {
          type: 'artist'
        },
        options
      )
      .build()
      .execute(HttpManager.get, callback);
  }
function(options, callback) {
    return WebApiRequest.builder(this.getAccessToken())
      .withPath('/v1/me/following')
      .withHeaders({ 'Content-Type': 'application/json' })
      .withQueryParameters(
        {
          type: 'artist'
        },
        options
      )
      .build()
      .execute(HttpManager.get, callback);
  }
function ( options , callback ) { return WebApiRequest . builder ( this . getAccessToken ( ) ) . withPath ( '/v1/me/following' ) . withHeaders ( { 'Content-Type' : 'application/json' } ) . withQueryParameters ( { type : 'artist' } , options ) . build ( ) . execute ( HttpManager . get , callback ) ; }
Get the current user's followed artists.
@param {Object} [options] Options, being after and limit.
@param {requestCallback} [callback] Optional callback method to be called instead of the promise.
@returns {Promise|undefined} A promise that if successful, resolves to an object containing a paging object which contains
album objects. Not returned if a callback is given.
Get the current user s followed artists .