lastfm-api-client

0.1.0 • Public • Published

lastfm-api-client

a Last.FM API Client for Node and the Browser

Support

Buy me a Coffee

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);
})

Package Sidebar

Install

npm i lastfm-api-client

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

24.4 kB

Total Files

19

Last publish

Collaborators

  • moszeed