Class Artist

    • Method Summary

      Modifier and Type Method Description
      Artist.Builder builder()
      Create a builder for building an instance of a model object.
      ExternalUrl getExternalUrls()
      Get the external URLs of the artist.
      Followers getFollowers()
      Get information about the followers of the artist.
      java.lang.String[] getGenres()
      Get a list of all genres of the artist.
      java.lang.String getHref()
      Get the full Spotify Web API endpoint URL of the artist.
      java.lang.String getId()
      Get the Spotify ID of the artist.
      Image[] getImages()
      Get all images of the artist (like header image) in different sizes.
      java.lang.String getName()
      Get the name of the artist.
      java.lang.Integer getPopularity()
      Get the popularity of the artist in a range between 0 and 100.
      ModelObjectType getType()
      Get the model object type.
      java.lang.String getUri()
      Get the Spotify URI of the artist.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getFollowers

        public Followers getFollowers()
        Get information about the followers of the artist.
        Example: Follower count.
        Returns:
        A Followers object.
      • getGenres

        public java.lang.String[] getGenres()
        Get a list of all genres of the artist.
        A great amount of artists may contain no information about their genres.
        Returns:
        An array of genre names.
      • getHref

        public java.lang.String getHref()
        Get the full Spotify Web API endpoint URL of the artist.
        Returns:
        A Spotify Web API endpoint URL.
      • getId

        public java.lang.String getId()
        Get the Spotify ID of the artist.
        Returns:
        A Spotify artist ID.
      • getImages

        public Image[] getImages()
        Get all images of the artist (like header image) in different sizes.
        Returns:
        An array of Image objects.
      • getName

        public java.lang.String getName()
        Get the name of the artist.
        Returns:
        Artist name.
      • getPopularity

        public java.lang.Integer getPopularity()
        Get the popularity of the artist in a range between 0 and 100. (higher = more popular)
        The popularity of the artist is based on the popularity of its tracks.
        Returns:
        The popularity of the artist.
      • getUri

        public java.lang.String getUri()
        Get the Spotify URI of the artist.
        Returns:
        Spotify artist URI.
      • builder

        public Artist.Builder builder()
        Description copied from interface: IModelObject
        Create a builder for building an instance of a model object.
        The type of the builder and its methods depend on its corresponding implementation.
        Specified by:
        builder in interface IModelObject
        Returns:
        A builder object.