1.1.3 • Published 8 years ago

node-acousticbrainz v1.1.3

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

node-acousticbrainz Build Status

A Wrapper for the AcousticBrainz API

Documentation

Start by installing node-acousticbrainz in your project. You can do this with the following shell command:

npm install --save node-acousticbrainz

In the file that you want to use node-acousticbrainz, you should require it with:

var AcousticBrainz = require('node-acousticbrainz');

That line will vary if you're using ES2015 syntax, or an alternate module loader, but if you're doing those things you probably know how to require code in your chosen platform.

Instantiate an object:

var ab = new AcousticBrainz();

You can then use ab to fetch data from Acousticbrainz:

ab.get('id','type',function(err,data){ // here you have access to your data! });

The arguments to the get function, id and type, are documented in the Acousticbrainz documentation

Happy hacking!

1.1.3

8 years ago

1.1.2

8 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.0

9 years ago