MusicVideos
To get an artist's music videos you need a lastfm api key as well as a youtube api key.
v = MusicVideos::Find.new(LASTFM_API_KEY,YOUTUBE_API_KEY)
music_videos = v.find_artist_music_videos("chief keef")
v.first
##<Object:0x007fe4ed1d2638 @artist="chief keef", @title="early morning getting it", @youtube_url="Mt07J2k8myM">
Installation
Add this line to your application's Gemfile:
gem 'music_videos'
And then execute:
$ bundle
Or install it yourself as:
$ gem install music_videos
Usage
TODO: Write usage instructions here
Contributing
- Fork it ( https://github.com/[my-github-username]/music_videos/fork )
- 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 a new Pull Request