Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anwesh43/billboard-hot-100-
node js list api to get top 100 songs in billboard
https://github.com/anwesh43/billboard-hot-100-
Last synced: 9 days ago
JSON representation
node js list api to get top 100 songs in billboard
- Host: GitHub
- URL: https://github.com/anwesh43/billboard-hot-100-
- Owner: Anwesh43
- Created: 2016-10-12T13:30:00.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-01-20T08:01:32.000Z (almost 5 years ago)
- Last Synced: 2024-10-31T07:04:30.888Z (15 days ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#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
```