3.0.1 • Published 5 years ago

youtube-api-search-reloaded v3.0.1

Weekly downloads
9
License
MIT
Repository
github
Last release
5 years ago

Youtube seach

Build Status Coverage Status Size

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

3.0.1

5 years ago

3.0.0

5 years ago

2.1.1

5 years ago

2.1.0

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.4.0

5 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.1

5 years ago

1.2.0

6 years ago

1.1.0

7 years ago

1.0.0

7 years ago