Skip to content

Repository files navigation

smule-api

💥 A simple API for Smule

Install

$ npm install --save smule-api

Usage

  • For detectingfileType :

url:https://smule.com/recording/titanium-acoustic/664072227_604510719

constsmule=require('smule-api');smule.type(url).then(res=>{console.log(res);// => audio/mp4});
  • For extracingdirect linkto download audio/video :
smule.source(url).then(res=>{console.log(res);// => https://www.smule.com/redir?....Flmpz});

API

smule.type(url)

  • Returns a promise for a string of media type avaiable.

smule.source(url)

  • Returns a promise for a string of downloadable link for given url

url

TYPE : string

Related

  • Smule- A complete media downlaoder for Smule

License

MIT © Rishi Giri

About

💥 A simple API for Smule

Resources

Stars

9 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages