youtube-api-search-reloaded
v3.0.1
Published
Fork of youtube-api-search with additions
Downloads
32
Readme
Youtube seach
Based on https://www.npmjs.com/package/youtube-api-search
added all available option in the yotube api.
Avaiable parameters : https://developers.google.com/youtube/v3/docs/search/list#parameters
Required arguments
There are 4 required params there are part
, key
, term
and type
.
Example:
import YoutubeSearch from "youtube-api-search-reloaded";
const params = {
part,
key,
term,
type,
forContentOwner,
forDeveloper,
forMine,
relatedToVideoId,
channelId,
channelType,
eventType,
location,
locationRadius,
maxResults,
onBehalfOfContentOwner,
order,
pageToken,
publishedAfter,
regionCode,
relevanceLanguage,
safeSearch,
topicId,
videoCaption,
videoCategoryId,
videoDefinition,
videoDimension,
videoDuration,
videoEmbeddable,
videoLicense,
videoSyndicated,
videoType
};
YoutubeSearch({ params })
.then(data => handleVideoData(data))
.catch(error => handleError(error));
License
MIT
Copyright
iTsFILIPOficial