1.0.11 • Published 3 years ago

zingmp3-api-full-v2 v1.0.11

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Zing Mp3 API

Original packages

https://www.npmjs.com/package/zingmp3-api-full

⚠️ Please create server use module zingmp3-api-full + Node.js + Express.js

Based module ZingMp3API.

Usage

How to get song ID? you can read my post.

Example:

https://zingmp3.vn/api/v2/song/get/streaming?id=ZOACFBBU&ctime=1641375546&version=1.5.4&sig=f9ecb61628fad98d3d5d04fa40d3246af6817b2bab1a52674cf218770637497308060f943b0677318754cf2099564689ab1163c31bd2682aa94905804369dc23&apiKey=88265e23d4284f25963e6eedac8fbfa3

=> ID: ZOACFBBU

Get Song

param {id}

ZingMp3.getSong("ZOACFBBU").then((data) => {
  console.log(data)
})

Get Detail Playlist

param {id}

ZingMp3.getDetailPlaylist("ZWZB969E").then((data) => {
  console.log(data)
})

Get Home

ZingMp3.getHome().then((data) => {
  console.log(data)
})

Get Top 100

ZingMp3.getTop100().then((data) => {
  console.log(data)
})

Get Chart Home

ZingMp3.getChartHome().then((data) => {
  console.log(data)
})

Get New Release Chart

ZingMp3.getNewReleaseChart().then((data) => {
  console.log(data)
})

Get Song Info

param {id}

ZingMp3.getInfoSong("ZOACFBBU").then((data) => {
  console.log(data)
})

Get Artist

param {name} : sontungmtp

ZingMp3.getArtist("sontungmtp").then((data) => {
  console.log(data)
})

Get Lyric Song

param {id}

ZingMp3.getLyric("ZOACFBBU").then((data) => {
  console.log(data)
})

Search Song

param {query} : sontungmtp

ZingMp3.search("sontungmtp").then((data) => {
  console.log(data)
})

Get List MV

param {id, page, count}

ZingMp3.getListMV("IWZ9Z08I", "1", "15").then((data) => {
  console.log(data)
})

Get Category MV

param {id}

ZingMp3.getCategoryMV("IWZ9Z08I").then((data) => {
  console.log(data)
})

Get Video MV

param {id}

ZingMp3.getVideo("ZWEW9WI8").then((data) => {
  console.log(data)
})

My update from the original file

Search Song All

param {sontungmtp, 1, 18}

ZingMp3.searchAll("sontungmtp","1","18").then((data) => {
  console.log(data)
})

Search Playlist All

param {sontungmtp, 1, 18}

ZingMp3.searchAllPlaylist("sontungmtp","1","18").then((data) => {
  console.log(data)
})

Search MV All

param {sontungmtp, 1, 18}

ZingMp3.searchAllVideo("sontungmtp","1","18").then((data) => {
  console.log(data)
})

Search Suggest

ZingMp3.Suggest().then((data) => {
  console.log(data)
})
1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago