Sha256: 18d31a89297e44bb11230d6ac6796332ec8136ccd72d075b8ffb2154fe720d6b
Contents?: true
Size: 579 Bytes
Versions: 4
Compression:
Stored size: 579 Bytes
Contents
# Kagu API to get Last.fm most played and loved tracks. ## Installation Just add this into your `Gemfile`: ```ruby gem 'notu' ``` Then, just run `bundle install`. ## Example ```ruby library = Notu::Library.new(username: 'johndoe') library.loved_tracks.each do |track| puts track.artist end library.most_played_tracks(period: 'last_month').each do |track| puts "#{track.artist}: #{track.plays_count}" end ``` ## Executing test suite This project is fully tested with [Rspec 3](http://github.com/rspec/rspec). Just run `bundle exec rake` (after a `bundle install`).
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
notu-0.3.0 | README.mdown |
notu-0.2.2 | README.mdown |
notu-0.2.1 | README.mdown |
notu-0.2.0 | README.mdown |