Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

38 Commits

Repository files navigation

node-spotify

Extremely simple (and somewhat hackish) API library for the Spotify REST API.

Install

The easiest way to use node-spotify is to install it with npm: npm install spotify

API

Currently, there's only three (useful) methods available:

lookup: function({type: 'artist OR album OR track',id: 'Spotify ID Hash'},hollaback)
search: function({type: 'artist OR album OR track',query: 'My search query',limit: 20},hollaback)
get: function(query,hollaback)--Seehttp://developer.spotify.com/en/metadata-api/overview/

Example

varspotify=require('spotify');spotify.search({type: 'track',query: 'dancing in the moonlight'},function(err,data){if(err){console.log('Error occurred: '+err);return;}// Do something with 'data'});

About

A very simple node.js library for the Spotify REST API

Resources

Stars

42 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages