Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

billboard-crawler

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

billboard-crawler

Billboard music chart unofficial API in node.js.

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

billboard-crawler

Billboard music chart unofficial API in Node.js

Install

$ npm install billboard-crawler

Usage

new BillboardCrawler()

Constructor

// import the npm module as a class constructor
const BillboardCrawler = require('billboard-crawler')

// new it up
const billboard = new BillboardCrawler()

Methods

billboard.getChart(chartName?, date?)
  • chartName: The chart name, e.g. 'Hot 100' or 'Pop Songs'. You can browse the Charts page on Billboard.com to find valid chart names; the URL of a chart will look like http://www.billboard.com/charts/CHART-NAME (example). By default 'Hot 100' chart is fetched.
  • date: The chart date as a string, in YYYY-MM-DD format. By default, the latest chart is fetched.
billboard.getYearEndChart(chartName?, year?)
  • chartName: The chart name, e.g. 'Hot 100 Songs' or 'Top Artists'. You can browse the Charts page https://www.billboard.com/charts/year-end. By default 'Hot 100 Songs' chart is fetched.
  • year: For example 2008. By default, last year's year-end chart is fetched.
billboard.getArtistChartHistory(artist, chartName?)
  • artist: Arist's name, e.g. 'Rihanna' or 'Taylor Swift'.
  • chartName: Same as the chartName argument in getChart method.

Keywords

FAQs

Package last updated on 21 May 2018

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc