Class GetFollowedRequest

java.lang.Object
de.sonallux.spotify.api.apis.users.GetFollowedRequest

public class GetFollowedRequest extends Object

Get Followed Artists request

Required OAuth scopes

user-follow-read

Response

A paged set of artists

  • Constructor Details

    • GetFollowedRequest

      public GetFollowedRequest(ApiClient apiClient, String type)
      Get Followed Artists request
      Parameters:
      apiClient -

      The API client

      type -

      The ID type: currently only artist is supported.

  • Method Details

    • after

      public GetFollowedRequest after(String after)
      Parameters:
      after -

      The last artist ID retrieved from the previous request.

      Returns:
      this request
    • limit

      public GetFollowedRequest limit(int limit)
      Parameters:
      limit -

      The maximum number of items to return. Default: 20. Minimum: 1. Maximum: 50.

      Returns:
      this request
    • build

      public ApiCall<CursorPagedArtists> build()
      Build the request into an executable api call
      Returns:
      an executable api call