spotify.cr

🎧 A Crystal wrapper for the Spotify Web API

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
Owner
github statistic
  • 32
  • 1
  • 5
  • 7
  • over 3 years ago
  • March 11, 2016
License

MIT License

Links
Synced at

Thu, 27 Feb 2020 13:31:00 GMT