public class Tasteometer
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Tasteometer.ComparisonResult
Contains the result of a tasteometer comparison, i.e.
|
static class |
Tasteometer.InputType
Specifies the type of the input for the Tasteometer.compare operation.
|
Modifier and Type | Method and Description |
---|---|
static Tasteometer.ComparisonResult |
compare(Tasteometer.InputType type1,
java.lang.String value1,
Tasteometer.InputType type2,
java.lang.String value2,
java.lang.String apiKey)
Get a Tasteometer score from two inputs, along with a list of shared artists.
|
public static Tasteometer.ComparisonResult compare(Tasteometer.InputType type1, java.lang.String value1, Tasteometer.InputType type2, java.lang.String value2, java.lang.String apiKey)
type1
- Type of the first inputvalue1
- First input valuetype2
- Type of the second inputvalue2
- Second input valueapiKey
- The Last.fm API key