A Crystal wrapper for the Spotify API
Add this to your application's shard.yml
:
dependencies:
spotify:
github: marceloboeira/spotify.cr
require "spotify"
puts Spotify::Track.find("23MrkN7g6Q5U7GLIxNHN1B").name
# => Foxey Lady
require "spotify"
puts Spotify::Album.find("7rSZXXHHvIhF4yUFdaOCy9").name
# => Are You Experienced
require "spotify"
puts Spotify::Artist.find("776Uo845nYHJpNaStv1Ds4").name
# => Jimi Hendrix