|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.umass.lastfm.Chart<T>
public class Chart<T extends MusicEntry>
Bean for Chart information. Contains a start date, an end date and a list of entries.
Constructor Summary | |
---|---|
Chart(Date from,
Date to,
Collection<T> entries)
|
Method Summary | |
---|---|
Collection<T> |
getEntries()
|
Date |
getFrom()
|
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. |
Date |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Chart(Date from, Date to, Collection<T> entries)
Method Detail |
---|
public Collection<T> getEntries()
public Date getFrom()
public Date getTo()
public static PaginatedResult<Artist> getTopArtists(String apiKey)
apiKey
- A Last.fm API key
public static PaginatedResult<Artist> getTopArtists(int page, String apiKey)
page
- The page to fetchapiKey
- A Last.fm API key
public static PaginatedResult<Tag> getTopTags(String apiKey)
apiKey
- A Last.fm API key
public static PaginatedResult<Tag> getTopTags(int page, String apiKey)
page
- The page to fetchapiKey
- A Last.fm API key
public static PaginatedResult<Track> getTopTracks(String apiKey)
apiKey
- A Last.fm API key
public static PaginatedResult<Track> getTopTracks(int page, String apiKey)
page
- The page to fetchapiKey
- A Last.fm API key
public static PaginatedResult<Track> getLovedTracks(String apiKey)
apiKey
- A Last.fm API key
public static PaginatedResult<Track> getLovedTracks(int page, String apiKey)
page
- The page to fetchapiKey
- A Last.fm API key
public static PaginatedResult<Track> getHypedTracks(String apiKey)
apiKey
- A Last.fm API key
public static PaginatedResult<Track> getHypedTracks(int page, String apiKey)
page
- The page to fetchapiKey
- A Last.fm API key
public static PaginatedResult<Artist> getHypedArtists(String apiKey)
apiKey
- A Last.fm API key
public static PaginatedResult<Artist> getHypedArtists(int page, String apiKey)
page
- The page to fetchapiKey
- A Last.fm API key
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |