0.0
No commit activity in last 3 years
No release in over 3 years
Extracts name, link, album, artist, imgs from a search
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.8
~> 4.4
~> 5.9
~> 10.4
~> 0.43
~> 0.12
~> 3.0
~> 2.1

Runtime

~> 2.0
 Project Readme

Spotifysearch Gem

Build Status

Spotifysearch Gem helps you generate your song into a picture to share on social media!

  • Auto search for nice album artwork
  • Change the image you like
  • Add comments on the image and songs to create your own awesome artwork!
  • Share on multiple social network to express your music loving soul!

##Install

If you are working on a project, add this to your Gemfile: gem 'spotifysearch'

For installation from command line:

$ gem install spotifysearch

##Usage

Require Spotifysearch gem in your code: require 'Spotifysearch'

You should use a track name as the input argument.

**Notice that you have to use plus sign ("+") instead of a blank to combine each word.

For example, If "Eyes Shut" is the track name you want to search, "Eyes+Shut" is the correct type of input.

See the following example code for more usage details:

search = Spotify::Search.find(user_input)
puts 'Search Result:'
search.each_value do |songinfo|
		puts "track: #{songinfo.track_name}"
		puts "artist: #{songinfo.artist_name}"
		puts "album: #{songinfo.album_name}"
		puts "img_url: #{songinfo.imgs[0]}"
		puts
end