Socket
Socket
Sign inDemoInstall

musixmatch-api-node

Package Overview
Dependencies
9
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    musixmatch-api-node

A Third-Party node-module that provides access to the Musixmatch API for retrieving lyrics and other related data.


Version published
Weekly downloads
3
Maintainers
1
Install size
2.35 MB
Created
Weekly downloads
 

Readme

Source

musixmatch-lyrics

A Third-Party node-module that provides access to the Musixmatch API for retrieving lyrics and other related data.

Installation

npm i musixmatch-api-node

Usage

const { MusixmatchAPI } = require("musixmatch-api-node");
const mxm = new MusixmatchAPI("APIKey");

// Get Lyrics
async function getLyrics() {
  const ly = await mxm.trackLyricsGet("123455657"); // Your TrackID Here
  console.log(ly);
}

getLyrics();

Functions

  • setApiKey() - Set the API Key for accessing all the functions.
  • trackLyricsGet() - Get lyrics and other lyrics related info.
  • trackSubtitlesGet() - Get subtitles and other subtitles related info.
  • matherLyricsGet() - Get lyrics and match it with your database.
  • matherSubtitlesGet() - Get subtitles and match it with your database.
  • chartArtistGet() - Get current popular artist from your country.
  • chartTrackGet() - Get chart of the popular songs from your country.
  • getTrackId() - Get song track id.
  • getArtistId() - Get the artist id.
  • artistGet() - Get artist info.
  • trackGet() - Get track info (Simplified).
  • trackSearch() - Get track info (Detailed).
  • trackSnippetGet() - Get the track snippet.
  • hasLyrics() - Check if the song has lyrics.
  • hasSubtitles() - Check if the song has subtitles or not.
  • isExplicit() - Check if the song is explicit.
  • isRestricted() - Check if the song is restricted.
  • isInstrumental() - Check if the song is instrumental.

Keywords

FAQs

Last updated on 09 Jun 2023

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