GithubHelp home page GithubHelp logo

web5design / youtube-api Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ionicabizau/youtube-api

0.0 2.0 0.0 206 KB

A Node.JS module, which provides an object oriented wrapper for the Youtube v3 API.

License: MIT License

youtube-api's Introduction

Youtube API

A Node.JS module, which provides an object oriented wrapper for the Youtube v3 API.

NPM

Installation

Install with the Node.JS package manager npm:

$ npm install youtube-api

or

Install via git clone:

$ git clone git://github.com/IonicaBizau/youtube-api.git
$ cd youtube-api
$ npm install

Documentation

You can find the docs for the API of this client at http://ionicabizau.github.io/youtube-api/

Additionally, the official Youtube documentation is a very useful resource.

Resource Type
Supported Operations
list insert update delete
activity yes yes no no
channel yes no no no
guideCategory yes no no no
playlist yes yes yes yes
playlistItem yes yes yes yes
search result yes no no no
subscription yes no no no
video yes yes yes yes
videoCategory yes no no no

Example

var Youtube = require("youtube-api");

Youtube.authenticate({
    type: "oauth",
    token: ACCESS_TOKEN
});

Youtube.channels.list({
    "part": "id",
    "mySubscribers": true,
    "maxResults": 50
}, function (err, data) {
    console.log(err, data);
});

Authentication

Youtube.authenticate({
    type: "oauth",
    token: "your access token"
});

Implemented Youtube APIs

All APIs that don't require POST, PUT or DELETE request methods are supported. More features will be added in the next versions.

Running the Tests

Download and test this module using this test application.

Note that a connection to the internet is required to run the tests.

Contributors

See package.json file.

LICENSE

MIT license. See the LICENSE file for details.

Changelog

v0.1.1

  • Fixed #2 (pull request): fix in videos API requests.

v0.1.0

  • Initial release
  • Supports only GET requests

youtube-api's People

Contributors

ionicabizau avatar sparkyfen avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.