Skip to content
🎧 A Crystal wrapper for the Spotify Web API
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example
spec
src
.editorconfig
.gitignore
.guardian.yml
.travis.yml
CONTRIBUTING.md
LICENSE
README.md
shard.yml

README.md

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
You can’t perform that action at this time.