1.0.0 • Published 2 years ago

nctapi v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

NHACCUATUI API

A music api built base on Nhaccuatui api

This is a NodeJS library with Javascript support NodeJS Server

Built With

Getting Started

Installation

npm install nctapi

Prerequisites

const {getTop100, getHome, getTop20, getTopic, getLyric, getPlaylist, getSong, searchSong} = require('nctapi')

or

const api = require('nctapi')

Usage

1. Search Song/Playlist

  • Returns songs/playlists that closely match your search input
  • Especially you can use this function to get the key of any song/playlist
searchSong(input)

2. Get Song

  • Returns song's detail
getSong(key)

3. Get Lyric

  • Returns song's lyric
getLyric(key)

4. Get Playlist

  • Returns playist's detail
getPlaylist(key)

5. Get Home

  • Returns homepage's information
getHome()

6. Get Topic

  • Returns all songs' topic
getTopic()

7. Get Top 20

  • Returns top 20 songs
getTop20()

8. Get Top 100

  • Returns top 20 songs
getTop100(name)

There are 6 name type: 'nhactre', 'trutinh', 'nhactrinh', 'tienchien', 'rapviet', 'remixviet'

Contact

Vu Hoang Minh - Facebook - vhminh2027@gmail.com

Project Link: NCT-API-Package

Base API Link: Beta-NCT