Skip to content

Commit

Permalink
readme updates
Browse files Browse the repository at this point in the history
  • Loading branch information
rsms committed Jul 21, 2010
1 parent 258014b commit 225a754
Showing 1 changed file with 19 additions and 5 deletions.
24 changes: 19 additions & 5 deletions README.md
@@ -1,19 +1,33 @@
# node-spotify # node-spotify


[libspotify](http://developer.spotify.com/en/libspotify/) bindings for nodejs. [libspotify](http://developer.spotify.com/en/libspotify/) bindings for [nodejs](http://nodejs.org/).


> **Warning:** This is software under early development. Many features are missing and the API might change at any time without notification. > **Warning:** This is software under early development. Many features are missing and the API might change at any time without notification.
## Building & installation ## Building & installation


node-waf configure node-waf configure build test
node-waf build
sudo node-waf install sudo node-waf install


### Requirements ### Requirements


- [Nodejs](http://nodejs.org/) >= 0.1.94 - [Nodejs](http://nodejs.org/) >= 0.1.100
- [libspotify](http://developer.spotify.com/en/libspotify/) >= 0.0.4 - [libspotify](http://developer.spotify.com/en/libspotify/) == 0.0.4

## Example

A simple example where we log in, search for `"album:belle"`, dump the results to stdout and finally log out:

var session = new Session({applicationKey: myAppkey});
session.login("username", "password", function (err) {
if (err) return sys.error(err.stack || err);
session.search('album:belle', function(err, result){
sys.puts(sys.inspect(result));
session.logout();
})
});

Fore more examples, have a look in the `examples` directory.


## MIT license ## MIT license


Expand Down

0 comments on commit 225a754

Please sign in to comment.