youtube-api-search-reloaded

    3.0.1 • Public • Published

    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

    Install

    npm i youtube-api-search-reloaded

    DownloadsWeekly Downloads

    2

    Version

    3.0.1

    License

    MIT

    Unpacked Size

    14.8 kB

    Total Files

    17

    Last publish

    Collaborators

    • itsfilipoficial