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