JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 14
  • Score
    100M100P100Q79863F
  • License ISC

ZingMp3 API

Package Exports

  • zingmp3-api

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (zingmp3-api) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

ZingMp3 API

ZingMp3API is a NodeJS library.

Reverse API

More infomation, you can read my post

Installation

npm i zingmp3-api

Usage

1.Get home

ZingMp3.getHome(1);

2. Get info music

Example: https://zingmp3.vn/bai-hat/City-Girls-Chris-Brown-Young-Thug/ZWBOW9CO.html

ZingMp3.getFullInfo('ZWBOW9CO');

3. Get details playlist or album

Example: https://zingmp3.vn/album/Top-100-Nhac-R-B-Au-My-Hay-Nhat-Various-Artists/ZWZB96C8.html

ZingMp3.getDetailPlaylist('ZWZB96C8');

Example: Your keyword: Sơn Tùng MTP

ZingMp3.search('Sơn Tùng MTP');

5: Get chart

ZingMp3.getChartHome();

6: Get chart week

Example: https://zingmp3.vn/zing-chart-tuan/Bai-hat-Viet-Nam/IWZ9Z08I.html

ZingMp3.getWeekChart('IWZ9Z08I');

7: Get new release chart

ZingMp3.getNewReleaseChart();

8: Get top 100

ZingMp3.getTop100();

9. Get details artist

Example: https://zingmp3.vn/sontungmtp

ZingMp3.getDetailArtist('sontungmtp');

Contact

Facebook