Yesterday I published my first custom Drupal module. It's called "Spotify Now Playing."

The module is located here: https://www.drupal.org/project/spotify_playing

I wanted a way to display my current playing song on Spotify on my website, and Spotify has a really nice API, so I wrote a custom module that would authenticate to the API and give me a little JSON feed I could use to customize the display. 

I am using a library called Spotify Web API PHP, located here: https://github.com/jwilsson/spotify-web-api-php

I also wanted this to be usable as a standard Drupal module for anyone's site, so I build a Block that displays a simple version of what I built that "just works", so anyone who has built a standard Drupal site that facilitates Blocks can embed this on their site.

Pretty proud of this little module of mine. Next steps are getting it approved by the Drupal security team so that it has a nice little green badge on the project page.