I built a Ruby gem to interact with the API. Originally it only worked for the old API (I built in 2014!). I recently updated it so that users need to get an API key and it uses the new API.
Here's the source code, documentation and instructions on how to install it and use it:
50% of the API is already implemented and tested: