Skip to content
This repository has been archived by the owner on Aug 6, 2018. It is now read-only.
Burgestrand edited this page Mar 24, 2012 · 31 revisions

How to run the examples

Hallon’s examples are pieces of code that connect to Spotify and do something interesting. My goal with them is to provide interactive examples of how the API might be used. To run them, you’ll need:

  • a spotify premium user
  • a spotify application key (you want the binary application key for Hallon), place it in the directory you’ll be running the Hallon examples from

To run the examples all you do is run them with ruby:

ruby examples/show_published_playlists_of_user.rb

If the examples require additional information from you they’ll tell you. Please make sure you read the messages from Hallon if you are having troubles.