Class: LastFM::Group
- Inherits:
-
Object
- Object
- LastFM::Group
- Defined in:
- lib/lastfm/group.rb
Class Method Summary collapse
-
.get_hype(params) ⇒ Object
Get the hype list for a group.
-
.get_members(params) ⇒ Object
Get the list of members for a group.
-
.get_weekly_album_chart(params) ⇒ Object
Get an album chart for a group, for a given date range.
-
.get_weekly_artist_chart(params) ⇒ Object
Get an artist chart for a group, for a given date range.
-
.get_weekly_chart_list(params) ⇒ Object
Get the list of available charts for a group, expressed as date ranges which can be sent to the chart services.
-
.get_weekly_track_chart(params) ⇒ Object
Get a track chart for a group, for a given date range.
Class Method Details
.get_hype(params) ⇒ Object
Get the hype list for a group.
9 10 11 |
# File 'lib/lastfm/group.rb', line 9 def get_hype( params ) LastFM.get( "group.getHype", params ) end |
.get_members(params) ⇒ Object
Get the list of members for a group.
19 20 21 |
# File 'lib/lastfm/group.rb', line 19 def get_members( params ) LastFM.get( "group.getMembers", params ) end |
.get_weekly_album_chart(params) ⇒ Object
Get an album chart for a group, for a given date range. If no date range is supplied, return the most recent.
30 31 32 |
# File 'lib/lastfm/group.rb', line 30 def get_weekly_album_chart( params ) LastFM.get( "group.getWeeklyAlbumChart", params ) end |
.get_weekly_artist_chart(params) ⇒ Object
Get an artist chart for a group, for a given date range. If no date range is supplied, return the most recent.
41 42 43 |
# File 'lib/lastfm/group.rb', line 41 def get_weekly_artist_chart( params ) LastFM.get( "group.getWeeklyArtistChart", params ) end |
.get_weekly_chart_list(params) ⇒ Object
Get the list of available charts for a group, expressed as date ranges which can be sent to the chart services.
50 51 52 |
# File 'lib/lastfm/group.rb', line 50 def get_weekly_chart_list( params ) LastFM.get( "group.getWeeklyChartList", params ) end |
.get_weekly_track_chart(params) ⇒ Object
Get a track chart for a group, for a given date range. If no date range is supplied, return the most recent.
61 62 63 |
# File 'lib/lastfm/group.rb', line 61 def get_weekly_track_chart( params ) LastFM.get( "group.getWeeklyTrackChart", params ) end |