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

melon-chart-api

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

melon-chart-api

Melon Music Chart API

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Melon Chart API

Scrapes Melon Music chart data from Melon Music website.

Install

$ npm install --save melon-chart-api

Usage

const weekly from 'melon-chart-api';

weekly('04/20/2017', { cutLine: 5 }).then(chartData => {
  console.log(chartData);
})

As of 04/20/2017, the code above results in the following:

{ data:
   [ { rank: '1',
       title: '사랑이 잘 (With 오혁)',
       artist: '아이유',
       album: '사랑이 잘' },
     { rank: '2', title: '밤편지', artist: '아이유', album: '밤편지' },
     { rank: '3',
       title: 'REALLY REALLY',
       artist: 'WINNER',
       album: 'FATE NUMBER FOR' },
     { rank: '4',
       title: 'Marry Me',
       artist: '마크툽 (MAKTUB), 구윤회',
       album: '마크툽 프로젝트 Vol.03' },
     { rank: '5',
       title: '얼굴 찌푸리지 말아요',
       artist: '하이라이트 (Highlight)',
       album: 'CAN YOU FEEL IT?' } ],
  dates: { start: '20170410', end: '20170416' } }

feat. 갓이유

API

weekly(date, [options])

Returns a promise.

date

Type: number, string, object

Any object that can be parsed using date-fns/parse function.

options
cutLine

Type: number

Default: 5

FAQs

Package last updated on 21 Apr 2017

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