Class Tasteometer

java.lang.Object
de.umass.lastfm.Tasteometer

public class Tasteometer extends Object
Provides the binding for the "tasteometer.compare" method.
Author:
Janni Kovacs
  • Method Details

    • compare

      public static Tasteometer.ComparisonResult compare(Tasteometer.InputType type1, String value1, Tasteometer.InputType type2, String value2, String apiKey)
      Get a Tasteometer score from two inputs, along with a list of shared artists.
      Parameters:
      type1 - Type of the first input
      value1 - First input value
      type2 - Type of the second input
      value2 - Second input value
      apiKey - The Last.fm API key
      Returns:
      result of Tasteometer comparison