Class: LastFM::Api::Group
- Inherits:
-
Object
- Object
- LastFM::Api::Group
- Defined in:
- lib/lastfm/api/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.
10 11 12 |
# File 'lib/lastfm/api/group.rb', line 10 def get_hype( params ) LastFM.get( "group.getHype", params ) end |
.get_members(params) ⇒ Object
Get the list of members for a group.
20 21 22 |
# File 'lib/lastfm/api/group.rb', line 20 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.
31 32 33 |
# File 'lib/lastfm/api/group.rb', line 31 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.
42 43 44 |
# File 'lib/lastfm/api/group.rb', line 42 def get_weekly_artist_chart( params ) LastFM.get( "group.getWeeklyArtistChart", params ) end |