day 4

Connecting to Spotify

I finished adding some basic content to the home page today. The first bits look like this:

Trying to keep things simple and resist the urge to mess with styles.

After that, I started digging into the Spotify API. Seems pretty nice. I looked at a couple of Ruby libraries and decided to try the rspotify gem. It handles Oauth and provides a nice way to interact with Spotify. Hoping that it will get me enough functionality that I don’t have to roll my own connection at first.

I deployed to Heroku to test it out and I’m having a little trouble getting the callback to work. I’ll investigate more tomorrow and hopefully have a user record to start working with.