Skip to content

Latest commit

 

History

History
54 lines (36 loc) · 659 Bytes

README.md

File metadata and controls

54 lines (36 loc) · 659 Bytes

node-nobodysurf

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)

Get trending

surf.getTrending()

Search for a term or tags

surf.search(searchTerm, tags = [])