Sha256: 808a730525eb90c2ce5a87473a4ac855e836af45c862737469ef9dabb6a4f6ce
Contents?: true
Size: 646 Bytes
Versions: 16
Compression:
Stored size: 646 Bytes
Contents
# Notu API to get Last.fm tracks (most played, loved, etc.). ## 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 library.played_tracks.each do |track| puts track.title 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
16 entries across 16 versions & 1 rubygems