Sha256: 84f16c6ce4fd5158a49d64742238e20dba1189eba2f86411cb46d03785c36260
Contents?: true
Size: 244 Bytes
Versions: 2
Compression:
Stored size: 244 Bytes
Contents
require 'open-uri' require 'nokogiri' module LyricFind class API def get_snippet_by_song_name artist, song_name doc = get_search_api_response artist, song_name return nil if doc.nil? get_snippet doc end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
LyricFind-0.1.7 | lib/lyricfind/get_snippet_by_song_name.rb |
LyricFind-0.1.6 | lib/lyricfind/get_snippet_by_song_name.rb |