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

Version Path
notu-4.0.0 README.mdown
notu-3.0.0 README.mdown
notu-2.0.6 README.mdown
notu-2.0.5 README.mdown
notu-2.0.4 README.mdown
notu-2.0.3 README.mdown
notu-2.0.2 README.mdown
notu-2.0.1 README.mdown
notu-2.0.0 README.mdown
notu-1.0.6 README.mdown
notu-1.0.5 README.mdown
notu-1.0.4 README.mdown
notu-1.0.3 README.mdown
notu-1.0.2 README.mdown
notu-1.0.1 README.mdown
notu-1.0.0 README.mdown