Package de.umass.lastfm
Class Chart<T extends MusicEntry>
java.lang.Object
de.umass.lastfm.Chart<T>
Bean for Chart information. Contains a start date, an end date and a list of entries.
- Author:
- Janni Kovacs
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFrom()
static PaginatedResult
<Artist> getHypedArtists
(int page, String apiKey) Get the hyped artists chart.static PaginatedResult
<Artist> getHypedArtists
(String apiKey) Get the hyped artists chart.static PaginatedResult
<Track> getHypedTracks
(int page, String apiKey) Get the hyped tracks chart.static PaginatedResult
<Track> getHypedTracks
(String apiKey) Get the hyped tracks chart.static PaginatedResult
<Track> getLovedTracks
(int page, String apiKey) Get the most loved tracks chart.static PaginatedResult
<Track> getLovedTracks
(String apiKey) Get the most loved tracks chart.getTo()
static PaginatedResult
<Artist> getTopArtists
(int page, String apiKey) Get the top artists chart.static PaginatedResult
<Artist> getTopArtists
(String apiKey) Get the top artists chart.static PaginatedResult
<Tag> getTopTags
(int page, String apiKey) Get the top tags chart.static PaginatedResult
<Tag> getTopTags
(String apiKey) Get the top tags chart.static PaginatedResult
<Track> getTopTracks
(int page, String apiKey) Get the top tracks chart.static PaginatedResult
<Track> getTopTracks
(String apiKey) Get the top tracks chart.
-
Constructor Details
-
Chart
-
-
Method Details
-
getEntries
-
getFrom
-
getTo
-
getTopArtists
Get the top artists chart.- Parameters:
apiKey
- A Last.fm API key- Returns:
- Top artists chart
-
getTopArtists
Get the top artists chart.- Parameters:
page
- The page to fetchapiKey
- A Last.fm API key- Returns:
- Top artists chart
-
getTopTags
Get the top tags chart.- Parameters:
apiKey
- A Last.fm API key- Returns:
- Top tags chart
-
getTopTags
Get the top tags chart.- Parameters:
page
- The page to fetchapiKey
- A Last.fm API key- Returns:
- Top tags chart
-
getTopTracks
Get the top tracks chart.- Parameters:
apiKey
- A Last.fm API key- Returns:
- Top tracks chart
-
getTopTracks
Get the top tracks chart.- Parameters:
page
- The page to fetchapiKey
- A Last.fm API key- Returns:
- Top tracks chart
-
getLovedTracks
Get the most loved tracks chart.- Parameters:
apiKey
- A Last.fm API key- Returns:
- Most loved tracks chart
-
getLovedTracks
Get the most loved tracks chart.- Parameters:
page
- The page to fetchapiKey
- A Last.fm API key- Returns:
- Most loved tracks chart
-
getHypedTracks
Get the hyped tracks chart.- Parameters:
apiKey
- A Last.fm API key- Returns:
- Hyped tracks chart
-
getHypedTracks
Get the hyped tracks chart.- Parameters:
page
- The page to fetchapiKey
- A Last.fm API key- Returns:
- Hyped tracks chart
-
getHypedArtists
Get the hyped artists chart.- Parameters:
apiKey
- A Last.fm API key- Returns:
- Hyped artists chart
-
getHypedArtists
Get the hyped artists chart.- Parameters:
page
- The page to fetchapiKey
- A Last.fm API key- Returns:
- Hyped artists chart
-