Class: LastFM::Api::Chart
- Inherits:
-
Object
- Object
- LastFM::Api::Chart
- Defined in:
- lib/lastfm/api/chart.rb
Class Method Summary collapse
-
.get_hyped_artists(params) ⇒ Object
Get the hyped artists chart.
-
.get_hyped_tracks(params) ⇒ Object
Get the hyped tracks chart.
-
.get_loved_tracks(params) ⇒ Object
Get the most loved tracks chart.
-
.get_top_artists(params) ⇒ Object
Get the top artists chart.
-
.get_top_tags(params) ⇒ Object
Get the top tags chart.
-
.get_top_tracks(params) ⇒ Object
Get the top tracks chart.
Class Method Details
.get_hyped_artists(params) ⇒ Object
Get the hyped artists chart
11 12 13 |
# File 'lib/lastfm/api/chart.rb', line 11 def get_hyped_artists( params ) LastFM.get( "chart.getHypedArtists", params ) end |
.get_hyped_tracks(params) ⇒ Object
Get the hyped tracks chart
20 21 22 |
# File 'lib/lastfm/api/chart.rb', line 20 def get_hyped_tracks( params ) LastFM.get( "chart.getHypedTracks", params ) end |
.get_loved_tracks(params) ⇒ Object
Get the most loved tracks chart
29 30 31 |
# File 'lib/lastfm/api/chart.rb', line 29 def get_loved_tracks( params ) LastFM.get( "chart.getLovedTracks", params ) end |
.get_top_artists(params) ⇒ Object
Get the top artists chart
38 39 40 |
# File 'lib/lastfm/api/chart.rb', line 38 def get_top_artists( params ) LastFM.get( "chart.getTopArtists", params ) end |