Skip to content

Latest commit

 

History

History
83 lines (52 loc) · 1.28 KB

README.md

File metadata and controls

83 lines (52 loc) · 1.28 KB

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');

4: Search

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