All Projects β†’ darthbatman β†’ billboard-top-100

darthbatman / billboard-top-100

Licence: MIT License
πŸ“ˆ Node.js API to retrieve the top songs, albums, and artists from Billboard's charts

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to billboard-top-100

hiccup-d3
D3-Charts written in Clojure
Stars: ✭ 74 (-3.9%)
Mutual labels:  charts
components
Easily develop emails with email-ready components.
Stars: ✭ 18 (-76.62%)
Mutual labels:  charts
proteic
Streaming and static data visualization for the modern web.
Stars: ✭ 37 (-51.95%)
Mutual labels:  charts
react-native-gifted-charts
www.npmjs.com/package/react-native-gifted-charts
Stars: ✭ 126 (+63.64%)
Mutual labels:  charts
dataviewer-example
πŸ“Š Usage examples of dataviewer - https://github.com/jasrodis/dataviewer
Stars: ✭ 15 (-80.52%)
Mutual labels:  charts
silky-charts
A silky smooth D3/React library
Stars: ✭ 38 (-50.65%)
Mutual labels:  charts
wpf-demos
This repository contains the samples for Syncfusion WPF UI Controls and File Format libraries and the guide to use them.
Stars: ✭ 128 (+66.23%)
Mutual labels:  charts
ultrastar-worldparty
UltraStar WorldParty. A karaoke game inspired by SingStarβ„’
Stars: ✭ 88 (+14.29%)
Mutual labels:  songs
hotmap
WebGL Heatmap Viewer for Big Data and Bioinformatics
Stars: ✭ 13 (-83.12%)
Mutual labels:  charts
graffeine
Simple, modular graphs for iOS.
Stars: ✭ 22 (-71.43%)
Mutual labels:  charts
YoutubeSpotifyDL
Youtube and Spotify music downloader with metadata.
Stars: ✭ 66 (-14.29%)
Mutual labels:  songs
laravel-chartjs
No description or website provided.
Stars: ✭ 13 (-83.12%)
Mutual labels:  charts
charts
This repository is home to the original helm charts for products throughout the open data platform ecosystem.
Stars: ✭ 39 (-49.35%)
Mutual labels:  charts
reusable-d3-charts
Reusable charts built with D3. Built on Web standards, fully customisable.
Stars: ✭ 33 (-57.14%)
Mutual labels:  charts
visa-chart-components
Visa Chart Components (VCC) is an accessibility focused, framework agnostic set of data experience design systems components for the web. VCC attempts to provide a toolset to enable developers to build equal data experiences for everyone, everywhere.
Stars: ✭ 81 (+5.19%)
Mutual labels:  charts
better-access-charts
Better charts for Access with chart.js
Stars: ✭ 19 (-75.32%)
Mutual labels:  charts
UDTStudio
UniSwarm Tools for UDT interface and CANOpen in Qt5
Stars: ✭ 13 (-83.12%)
Mutual labels:  charts
bitbot
Simple python app to drive Pimoroni e-ink displays with finance candle charts
Stars: ✭ 22 (-71.43%)
Mutual labels:  charts
rfrappe
htmlwidget for frappe charts js library
Stars: ✭ 24 (-68.83%)
Mutual labels:  charts
youtube-audio
Disable videos on youtube and save battery and bandwidth / data
Stars: ✭ 110 (+42.86%)
Mutual labels:  songs


Node.js API to retrieve top songs, albums, and artists from Billboard's charts

contributions welcome

install

npm install billboard-top-100

example

getChart

const { getChart } = require('billboard-top-100');

// date format YYYY-MM-DD
getChart('hot-100', '2016-08-27', (err, chart) => {
  if (err) console.log(err);
  // week of the chart in the date format YYYY-MM-DD
  console.log(chart.week);
  // URL of the previous week's chart
  console.log(chart.previousWeek.url);
  // date of the previous week's chart in the date format YYYY-MM-DD
  console.log(chart.previousWeek.date);
  // URL of the next week's chart
  console.log(chart.nextWeek.url);
  // date of the next week's chart in the date format YYYY-MM-DD
  console.log(chart.nextWeek.date);
  // array of top 100 songs for week of August 27, 2016
  console.log(chart.songs);
  // song with rank: 4 for week of August 27, 2016
  console.log(chart.songs[3]);
  // title of top song for week of August 27, 2016
  console.log(chart.songs[0].title);
  // artist of top songs for week of August 27, 2016
  console.log(chart.songs[0].artist);
  // rank of top song (1) for week of August 27, 2016
  console.log(chart.songs[0].rank);
  // URL for Billboard cover image of top song for week of August 27, 2016
  console.log(chart.songs[0].cover);
  // position info of top song
  console.log(chart.songs[0].position.positionLastWeek);
  console.log(chart.songs[0].position.peakPosition);
  console.log(chart.songs[0].position.weeksOnChart);
});

// chartName defaults to hot-100
// date defaults to Saturday of this week
getChart((err, chart) => {
  if (err) console.log(err);
  console.log(chart);
});

// date defaults to Saturday of this week
getChart('rock-digital-song-sales', (err, chart) => {
  if (err) console.log(err);
  console.log(chart);
});

listCharts

// list all charts
const { listCharts } = require('billboard-top-100');

listCharts((err, charts) => {
  if (err) console.log(err);
  // array of all charts
  console.log(charts);
});

license

MIT Β© Rishi Masand

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].