Socket
Socket
Sign inDemoInstall

lastfm-api-client

Package Overview
Dependencies
7
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    lastfm-api-client

a Last.FM API Client for Node and the Browser


Version published
0
Maintainers
1
Install size
505 kB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 01 Mar 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc