Trawler crawls awl.
Add this line to your application's Gemfile:
gem 'trawler'
And then execute:
$ bundle
Or install it yourself as:
$ gem install trawler
(NOTE: Start yerself a mongo all up in your favourite way.)
bundle exec rspec
Grab yourself an API key here: (http://www.last.fm/api/accounts)
Start your mongos and fire up the secret source:
require 'trawler'
Mongoid.load!('db/mongoid.yml', :default)
Trawler::LastfmSource.collect(<your_api_key>, <your_lastfm_username>)
Check your mongos for a bunch of Tracks.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request