Permalink
Browse files

Added "searchSong" function to README, added search_complete to sampl…

…e return data.
  • Loading branch information...
1 parent 214e33e commit 9f8ef98ad8827a23128d2a1daa82a61c9acf99a0 @jeffstieler jeffstieler committed May 9, 2012
Showing with 405 additions and 1 deletion.
  1. +16 −1 README.md
  2. +389 −0 turntable_data/search_complete.js
View
@@ -5,7 +5,7 @@ A simple nodejs wrapper for the turntable API
## Installation
npm install ttapi
-Find your `AUTH`, `USERID` and `ROOMID` informations with [this bookmarklet](http://alaingilbert.github.com/Turntable-API/bookmarklet.html).
+Find your `AUTH`, `USERID` and `ROOMID` informations with [this bookmarklet](http://alaingilbert.github.com/Turntable-API/bookmarklet.html).
## Examples
@@ -419,3 +419,18 @@ bot.playlistReorder(indexFrom, indexTo, callback);
bot.playlistReorder(playlistName, indexFrom, indexTo);
bot.playlistReorder(playlistName, indexFrom, indexTo, callback);
```
+
+### searchSong ( query:string, callback:fn )
+
+Search for songs.
+
+#### Arguments
+
+* `query`
+* `callback`
+
+#### Examples
+
+```js
+bot.searchSong(query, callback);
+```
Oops, something went wrong.

0 comments on commit 9f8ef98

Please sign in to comment.