Class GetArtistsRelatedArtistsRequest


  • public class GetArtistsRelatedArtistsRequest
    extends Object
    Get an Artist's Related Artists request

    Response

    On success, the HTTP status code in the response header is 200 OK and the response body contains an object whose key is "artists" and whose value is an array of up to 20 artist objects in JSON format. On error, the header status code is an error code and the response body contains an error object.

    • Constructor Detail

      • GetArtistsRelatedArtistsRequest

        public GetArtistsRelatedArtistsRequest​(ApiClient apiClient,
                                               String id)

        Get an Artist's Related Artists request

        Parameters:
        apiClient -

        The API client

        id -

        The Spotify ID for the artist

    • Method Detail

      • build

        public ApiCall<Artists> build()
        Build the request into an executable call