spotify

Wrapper for the Spotify Web API spotify api wrapper
HEAD Latest release released

spotify.cr Build Status

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
spotify:
  github: marceloboeira/spotify.cr
  
License MIT
Crystal none

Authors

Dependencies 0

Development Dependencies 2

  • spec2 ~> 0.9.0
    {'github' => 'waterlink/spec2.cr', 'version' => '~> 0.9.0'}
  • webmock ~> 0.8.0
    {'github' => 'manastech/webmock.cr', 'version' => '~> 0.8.0'}

Dependents 0

Last synced .
search fire star recently