Skip to content

Commit

Permalink
Added a section about application keys to the README.
Browse files Browse the repository at this point in the history
  • Loading branch information
sarnesjo committed Apr 15, 2009
1 parent f74b88f commit e4761b6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.markdown
Expand Up @@ -57,6 +57,14 @@ become `loaded?` methods.
There are a few exceptions to these rules, however. For details, refer to the
API docs.

### Application keys

The `Session#new` method expects as its first argument your libspotify
application key as a binary string. An easy way of creating this string, is
using `Array#pack`, like this:

APPLICATION_KEY = [0x00, ..., 0x00].pack('C*')

## Copyright

Copyright (c) 2009 Jesper Särnesjö. See LICENSE for details.

0 comments on commit e4761b6

Please sign in to comment.