Sha256: 3eabd15314fed37f98c34c59b8bbac30ae0a8575e462fcfafc09c54d15cf13d5
Contents?: true
Size: 263 Bytes
Versions: 1
Compression:
Stored size: 263 Bytes
Contents
require 'open-uri' require 'nokogiri' module LyricFind class API def album artist, song_name doc = get_search_api_response artist, song_name return nil if doc.nil? doc.xpath('//album')[0].content.gsub("\r\n", '').strip end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
LyricFind-0.1.5 | lib/lyricfind/album.rb |