node-nobodysurf

June 20, 2019 ยท View on GitHub

API Wrapper for NobodySurf

Installation

yarn add https://github.com/jzarca01/node-nobobysurf

Usage

const NobodySurf = require('node-nobodysurf');
const surf = new NobodySurf()

Methods

Get playlists

surf.getPlaylists()

Get playlist by Id

surf.getPlaylistById(playlistId)

Get video details

surf.getVideoDetails(videoId)

Get video URL

surf.getVideoUrl(videoId)
surf.getTrending()

Search for a term or tags

surf.search(searchTerm, tags = [])