billboard-hot-100

1.0.4 • Public • Published

billboard-hot-100

Synopsis

Simple api to fetch hot 100 song details

Description

The api fetches hot 100 song details like name,artist,rank and image url from billboard.com. The main method is init which returns a promise so you will get a object having all the songs when the promise is successful and you can catch error if any

How it looks

  var BillBoard = require('billboard-hot-100')
  BillBoard.init().then(function(billboard){
      var songs = billboard.getAllSongs()
      var numberOneSong = billboard.getSongAt(0)
  }).catch(function(err){
      console.log(err)
  })

To Install

    npm install --save billboard-hot-100

Package Sidebar

Install

npm i billboard-hot-100

Weekly Downloads

1

Version

1.0.4

License

ISC

Last publish

Collaborators

  • anwesh_43