de.umass.lastfm
Class Group

java.lang.Object
  extended by de.umass.lastfm.Group

public class Group
extends Object

Provides nothing more than a namespace for the API methods starting with group.

Author:
Janni Kovacs

Method Summary
static Collection<Artist> getHype(String group, String apiKey)
          Get the hype list for a group.
static PaginatedResult<User> getMembers(String group, int page, String apiKey)
          Get a list of members for this group.
static PaginatedResult<User> getMembers(String group, String apiKey)
          Get a list of members for this group.
static Chart<Album> getWeeklyAlbumChart(String group, int limit, String apiKey)
           
static Chart<Album> getWeeklyAlbumChart(String group, String apiKey)
           
static Chart<Album> getWeeklyAlbumChart(String group, String from, String to, int limit, String apiKey)
           
static Chart<Artist> getWeeklyArtistChart(String group, int limit, String apiKey)
           
static Chart<Artist> getWeeklyArtistChart(String group, String apiKey)
           
static Chart<Artist> getWeeklyArtistChart(String group, String from, String to, int limit, String apiKey)
           
static LinkedHashMap<String,String> getWeeklyChartList(String group, String apiKey)
           
static Collection<Chart> getWeeklyChartListAsCharts(String group, String apiKey)
           
static Chart<Track> getWeeklyTrackChart(String group, int limit, String apiKey)
           
static Chart<Track> getWeeklyTrackChart(String group, String apiKey)
           
static Chart<Track> getWeeklyTrackChart(String group, String from, String to, int limit, String apiKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getWeeklyAlbumChart

public static Chart<Album> getWeeklyAlbumChart(String group,
                                               String apiKey)

getWeeklyAlbumChart

public static Chart<Album> getWeeklyAlbumChart(String group,
                                               int limit,
                                               String apiKey)

getWeeklyAlbumChart

public static Chart<Album> getWeeklyAlbumChart(String group,
                                               String from,
                                               String to,
                                               int limit,
                                               String apiKey)

getWeeklyArtistChart

public static Chart<Artist> getWeeklyArtistChart(String group,
                                                 String apiKey)

getWeeklyArtistChart

public static Chart<Artist> getWeeklyArtistChart(String group,
                                                 int limit,
                                                 String apiKey)

getWeeklyArtistChart

public static Chart<Artist> getWeeklyArtistChart(String group,
                                                 String from,
                                                 String to,
                                                 int limit,
                                                 String apiKey)

getWeeklyTrackChart

public static Chart<Track> getWeeklyTrackChart(String group,
                                               String apiKey)

getWeeklyTrackChart

public static Chart<Track> getWeeklyTrackChart(String group,
                                               int limit,
                                               String apiKey)

getWeeklyTrackChart

public static Chart<Track> getWeeklyTrackChart(String group,
                                               String from,
                                               String to,
                                               int limit,
                                               String apiKey)

getWeeklyChartList

public static LinkedHashMap<String,String> getWeeklyChartList(String group,
                                                              String apiKey)

getWeeklyChartListAsCharts

public static Collection<Chart> getWeeklyChartListAsCharts(String group,
                                                           String apiKey)

getMembers

public static PaginatedResult<User> getMembers(String group,
                                               String apiKey)
Get a list of members for this group.

Parameters:
group - The group name to fetch the members of
apiKey - A Last.fm API key
Returns:
the list of Users

getMembers

public static PaginatedResult<User> getMembers(String group,
                                               int page,
                                               String apiKey)
Get a list of members for this group.

Parameters:
group - The group name to fetch the members of
page - The results page you would like to fetch
apiKey - A Last.fm API key
Returns:
the list of Users

getHype

public static Collection<Artist> getHype(String group,
                                         String apiKey)
Get the hype list for a group.

Parameters:
group - The last.fm group name
apiKey - A Last.fm API key
Returns:
a Collection of Artists