public class Tasteometer extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Tasteometer.ComparisonResult
Contains the result of a tasteometer comparison, i.e. the score (0.0-1.0) and a list of
shared artists.
|
static class |
Tasteometer.InputType
Specifies the type of the input for the Tasteometer.compare operation.
|
Modifier | Constructor and Description |
---|---|
private |
Tasteometer() |
Modifier and Type | Method and Description |
---|---|
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.
|
private Tasteometer()
public static Tasteometer.ComparisonResult compare(Tasteometer.InputType type1, String value1, Tasteometer.InputType type2, String value2, String apiKey)
type1
- Type of the first inputvalue1
- First input valuetype2
- Type of the second inputvalue2
- Second input valueapiKey
- The Last.fm API keyWebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses