Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

youtube-finder

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

youtube-finder

A module for easy connection with Youtube API.

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Build Status Coverage Status

youtube-finder

A isomorphic client for connect YOUTUBE API with an application javascript.

Install

$ npm install youtube-finder

Usage

var youtube = require('youtube-finder')
var client = youtube.createClient({ key: 'YOUR_API_KEY'})
var params = {
  part: 'snippet',
  q: 'Still into You paramore',
  maxResults: 5
}
client.search(params, function (err, data) {
  // your magic..
})

Mandatory parameters

part
    The part names that can be included in the parameter value are:
        - snippet
        - id

filters and additional parameters

* maxResults
    Acceptable values are {0/} a 50, both inclusive. The default is 5.

* q
    The parameter q specifies the query term to be searched

* type
    The acceptable values are:
        * channel
        * playlist
        * video
    default value is: video,channel,playlist

* videoDuration
    Acceptable values are:
        * any: do not filter search results videos by duration. This is the default value.
        * long: Include only videos more than 20 minutes.
        * medium: Include only videos between 4 and 20 minutes (inclusive) in length.
        * short: Include only videos of less than 4 minutes.

more info at website official: https://developers.google.com/youtube/v3/docs/search/list#parmetros

License MIT

Copyright (c) 2016 - Moises De La Cruz

Keywords

FAQs

Package last updated on 08 Jul 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc