Util

Util

Utilities.

Constructor

new Util()

Methods

(static) getFirstYoutubeResult(search, SYA) → {Promise.<Video>}

Gets the first youtube results for your search.

Parameters:
Name Type Description
search string

The name of the video or the video URL.

SYA Youtube

The Simple Youtube API Client.

Returns:
Type:
Promise.<Video>