lastfm-api-client
v0.1.0
Published
a Last.FM API Client for Node and the Browser
Downloads
5
Maintainers
Readme
lastfm-api-client
a Last.FM API Client for Node and the Browser
Support
Features
- support for all available GET methods
- promises
- works in node and browser
How to install
npm install lastfm-api-client
API usage
const LastFmApi = require('lastfm-api-client');
const LastFmClient = new LastFmApi({
apiKey : '<-- your last.fm api key -->',
apiSecret: '<-- your last.fm api secret -->'
});
LastFmClient.track.getInfo({
artist: 'Queens of the Stone Age',
track : 'No One Knows'
}).then((response) => {
console.log(response);
})