Interface PersonalizationSpotifyService


  • public interface PersonalizationSpotifyService
    • Method Detail

      • getTopArtists

        @GET("me/top/artists")
        retrofit2.Call<Pager<Artist>> getTopArtists()
        Get the current user’s top artists based on calculated affinity.
        Returns:
        The objects whose response body contains an artists or tracks object. The object in turn contains a paging object of Artists or Tracks
      • getTopArtists

        @GET("me/top/artists")
        retrofit2.Call<Pager<Artist>> getTopArtists​(@QueryMap
                                                    Map<String,​Object> options)
        Get the current user’s top artists based on calculated affinity.
        Parameters:
        options - Optional parameters. For list of available parameters see endpoint documentation
        Returns:
        The objects whose response body contains an artists or tracks object. The object in turn contains a paging object of Artists or Tracks
      • getTopTracks

        @GET("me/top/tracks")
        retrofit2.Call<Pager<Track>> getTopTracks()
        Get the current user’s top tracks based on calculated affinity.
        Returns:
        The objects whose response body contains an artists or tracks object. The object in turn contains a paging object of Artists or Tracks
      • getTopTracks

        @GET("me/top/tracks")
        retrofit2.Call<Pager<Track>> getTopTracks​(@QueryMap
                                                  Map<String,​Object> options)
        Get the current user’s top tracks based on calculated affinity.
        Parameters:
        options - Optional parameters. For list of available parameters see endpoint documentation
        Returns:
        The objects whose response body contains an artists or tracks object. The object in turn contains a paging object of Artists or Tracks