Giter Club home page Giter Club logo

ngx-ytd-api's Introduction

ngx-ytd-api

An unofficial integration of the YouTube Data v3 API with Angular

ngx-ytd-api@latest

Build Status GitHub contributors ngx-ytd-api license GitHub last commit Dependabot Status

Getting Started

Prerequisites

Ensure that you have npm and node installed and that you have a basic Angular app setup.

Also ensure that your app is running at least Angular 6 before continuing.

Installing

Run the following comamnd which should install the latest version of ngx-ytd-api available:

npm install ngx-ytd-api --save

Snapshot builds

Alternatively, you can get a snapshot build with the latest changes from master. Note that this snapshot build should not be considered stable and may break between releases.

npm install --save EdricChan03/ngx-ytd-api-builds

Features

Available features

Feature Notes Docs
Comments
  • All API features are available (with OAuth support)
  • However, more examples are needed.
No docs available
Comment threads
  • All API features are available
  • However, more examples are needed.
Search
  • All API features are available (with OAuth support)
Videos
  • All API features are available (with OAuth support)
  • However, more examples are needed.

In-progress / planned / non-planned features

Feature Status Issue
Activities Not planned -
Captions Not planned -
Channel banner / Channel sections / Channels Not planned -
Comment threads / Comments In progress #6
Guide categories Not planned -
I18n Not planned -
Playlist items / Playlists Not planned -
Subscriptions Not planned -
Thumbnails Not planned -
Video abuse report reasons / Video categories Not planned -
Watermarks Not planned -

Roadmap

Please see the ROADMAP.md file for the whole roadmap.


See the developer docs for a list of all endpoints of the YouTube Data API.

ngx-ytd-api's People

Contributors

dependabot-preview[bot] avatar dependabot-support avatar edricchan03 avatar greenkeeper[bot] avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ngx-ytd-api's Issues

An in-range update of @types/node is breaking the build 🚨

The devDependency @types/node was updated from 10.11.0 to 10.11.1.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

@types/node is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of ng-packagr is breaking the build 🚨

The devDependency ng-packagr was updated from 4.4.5 to 4.5.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

ng-packagr is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Move ngx-ytd-api to a centralised API library for Google APIs

I've been recently thinking of considering creating a library (which I would probably name ngx-google-api or ngx-google-http-api) which would offer all of the Google APIs by calling their REST APIs. However, it would be quite hard to maintain/structure the library with so many APIs available from Google.

[Feature] Schematics

There should be support for schematics to simplify the process of initialising the library.

TODO

  • Read up on how to create a schematic (the Angular blog has a great post on this very topic)
  • Initial installation schematic
    • Fix issues with schematic testing
    • Add support for specifying default API key to be used (with the NGX_YTD_API_STANDARD_PARAMS injection token)
  • Initial upgrade schematic (for upgrading to the recently announced Angular v7)
  • Initial schematics for the Comments API
  • Initial schematics for the Search API
  • Initial schematics for the Videos API
  • Initial upgrade schematics for potential future breaking changes

An in-range update of ng-packagr is breaking the build 🚨

The devDependency ng-packagr was updated from 4.1.1 to 4.2.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

ng-packagr is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of gulp-conventional-changelog is breaking the build 🚨

The devDependency gulp-conventional-changelog was updated from 2.0.3 to 2.0.5.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

gulp-conventional-changelog is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of @types/node is breaking the build 🚨

The devDependency @types/node was updated from 10.9.4 to 10.10.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

@types/node is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of @angular/cli is breaking the build 🚨

The devDependency @angular/cli was updated from 7.2.1 to 7.2.2.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

@angular/cli is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of @types/jasmine is breaking the build 🚨

The devDependency @types/jasmine was updated from 3.3.5 to 3.3.6.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

@types/jasmine is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of angular2 is breaking the build 🚨

There have been updates to the angular2 monorepo:

  • The dependency @angular/cdk was updated from 7.2.0 to 7.2.1.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

This monorepo update includes releases of one or more dependencies which all belong to the angular2 group definition.

angular2 is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Release Notes for acrylic-axolotl

Bug Fixes

  • a11y: remove listeners when focus trap anchors are removed (#14629) (17bb9c3)
  • autocomplete: adding aria-activedescendant while closed if autoActiveFirstOption is enabled (#14455) (f3065cc), closes #14453
  • checkbox: incorrect color for disabled indeterminate checkbox (#14478) (0398d53), closes #14415
  • datepicker: native date adapter not preserving time when cloning (#14691) (9e3a77b)
  • dialog: complete injectable streams on destroy (#14254) (e673608)
  • drag-drop: don't disable native drag interactions if dragging is disabled (#14233) (9fa3376)
  • drag-drop: update root element if selector changes (#14426) (14b90db)
  • form-field: proper arrow color for native select (#14490) (3824a05)
  • input: unable to reset focused state of readonly input (#14698) (98711d7)
  • list: add hover and focus indication in high contrast mode (#14637) (3c71348)
  • menu: hasBackdrop not being updated after first open (#14561) (268b0e8), closes #14560
  • menu: scroll position jumping to top after animation is done on scrollable menu (#14190) (37a7080), closes #11859 #11790
  • moment-adapter: incorrectly deserializing moment dates and not setting locale on deserialized values (#14685) (36db1c0)
  • overlay: not updating hasBackdrop after first open (#14562) (61d3cf8), closes #14561
  • radio: host element unable to receive focus events (#14472) (8c35917), closes #13323 #13953
  • select: announce value changes with arrow keys while closed (#14540) (3f9a125)
  • select: don't shift arrow if there is no label (#14607) (7188719), closes #13907
  • select: form field state not updated if options are reset (#14720) (391a9fd), closes #14709
  • slider: don't handle keyboard events with modifier keys (#14675) (7d2748e)
  • typography: deprecation warning in latest sass version (#14673) (65ecb08), closes #14636
  • expansion-panel: add missing injection token for configuring the default options (#14384) (a389704), closes #14383
FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of @types/jasmine is breaking the build 🚨

The devDependency @types/jasmine was updated from 2.8.10 to 2.8.11.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

@types/jasmine is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of @angular-devkit/build-angular is breaking the build 🚨

The devDependency @angular-devkit/build-angular was updated from 0.10.6 to 0.10.7.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

@angular-devkit/build-angular is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Announcements

An in-range update of karma is breaking the build 🚨

The devDependency karma was updated from 3.1.1 to 3.1.2.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

karma is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Release Notes for v3.1.2

Bug Fixes

Features

Commits

The new version differs by 11 commits.

  • 7d4d347 chore: release v3.1.2
  • 5077c18 chore: update contributors
  • fb05fb1 fix(server): use flatted for json.stringify (#3220)
  • 2682bff feat(docs): callout the key debug strategies. (#3219)
  • 4e87902 fix(changelog): remove release which does not exist (#3214)
  • 30ff73b fix(browser): report errors to console during singleRun=false (#3209)
  • 5334d1a fix(file-list): do not preprocess up-to-date files (#3196)
  • dc5f5de fix(deps): upgrade sinon-chai 2.x -> 3.x (#3207)
  • d38f344 fix(package): bump lodash version (#3203)
  • ffb41f9 refactor(browser): log state transitions in debug (#3202)
  • 240209f fix(dep): Bump useragent to fix HeadlessChrome version (#3201)

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of karma-jasmine-html-reporter is breaking the build 🚨

The devDependency karma-jasmine-html-reporter was updated from 1.3.1 to 1.4.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

karma-jasmine-html-reporter is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Commits

The new version differs by 1 commits.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of @angular-devkit/schematics is breaking the build 🚨

The devDependency @angular-devkit/schematics was updated from 7.2.1 to 7.2.2.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

@angular-devkit/schematics is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Release Notes for v7.2.2

Commits

@schematics/angular (7.2.2)

Commit Description Notes
assert no error logs in e2e
fix syntax error in main.ts after generating universal [Closes #13392]
remove properties which are set by default from required [Closes #13010]

@angular-devkit/build-angular (0.12.2)

Commit Description Notes
script chunk in angular.json return false then calling isInitial
`vendorSourceMap` not being recognized when passed directly [Closes #13414]
only show production warning when having either styles on scripts optimization turn on [Closes #13415]
add missing declaration types in build_angular schemas. [Closes #13388]
prints a warning on --host on serve [Closes #11060]

@angular-devkit/build-optimizer (0.12.2)

Commit Description Notes
support windows paths in rollup plugin

@angular-devkit/core (7.2.2)

Commit Description Notes
Make default and info log messages use default colors [Closes #13439]

@ngtools/webpack (7.2.2)

Commit Description Notes
drop only unused default import when used with named imports

@schematics/update (0.12.2)

Commit Description Notes
ensure option is string when replacing environment variable references

Special Thanks

Alan, Alan Agius, Keen Yee Liau, Renovate Bot, Johannes Steier, Mikel Ward, Matthias Gaudin, Hans Larsen, Filipe Silva, Moritz Benzenhöfer, 調月奏

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

[Feature] Support for OAuth

There's currently no support for certain API options as of now due to a lack of OAuth capabilities.

TODO

  • Decide on whether to leave this up to the consumer EDIT: This has to be left up to the consumer as the OAuth screen cannot be used with CORS
  • Read up docs on how to implement OAuth
  • Read up on how to use HttpClient with OAuth EDIT: Use the Authorization: Bearer HTTP header or the access_token parameter

Progress

5/10/18

I've added basic OAuth 2.0 support to the demo app, although I haven't committed the changes yet.

6/10/18

I'm planning to try to get this in by today.

New changes

There'll be several new parameters as part of OAuth to be implemented in NgxYtdApiGenericProperties:

Property Description
accessToken The access token returned from a successful authentication via Google's OAuth

An in-range update of @schematics/angular is breaking the build 🚨

The devDependency @schematics/angular was updated from 7.2.1 to 7.2.2.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

@schematics/angular is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Release Notes for v7.2.2

Commits

@schematics/angular (7.2.2)

Commit Description Notes
assert no error logs in e2e
fix syntax error in main.ts after generating universal [Closes #13392]
remove properties which are set by default from required [Closes #13010]

@angular-devkit/build-angular (0.12.2)

Commit Description Notes
script chunk in angular.json return false then calling isInitial
`vendorSourceMap` not being recognized when passed directly [Closes #13414]
only show production warning when having either styles on scripts optimization turn on [Closes #13415]
add missing declaration types in build_angular schemas. [Closes #13388]
prints a warning on --host on serve [Closes #11060]

@angular-devkit/build-optimizer (0.12.2)

Commit Description Notes
support windows paths in rollup plugin

@angular-devkit/core (7.2.2)

Commit Description Notes
Make default and info log messages use default colors [Closes #13439]

@ngtools/webpack (7.2.2)

Commit Description Notes
drop only unused default import when used with named imports

@schematics/update (0.12.2)

Commit Description Notes
ensure option is string when replacing environment variable references

Special Thanks

Alan, Alan Agius, Keen Yee Liau, Renovate Bot, Johannes Steier, Mikel Ward, Matthias Gaudin, Hans Larsen, Filipe Silva, Moritz Benzenhöfer, 調月奏

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of @angular-devkit/core is breaking the build 🚨

The devDependency @angular-devkit/core was updated from 7.2.1 to 7.2.2.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

@angular-devkit/core is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Release Notes for v7.2.2

Commits

@schematics/angular (7.2.2)

Commit Description Notes
assert no error logs in e2e
fix syntax error in main.ts after generating universal [Closes #13392]
remove properties which are set by default from required [Closes #13010]

@angular-devkit/build-angular (0.12.2)

Commit Description Notes
script chunk in angular.json return false then calling isInitial
`vendorSourceMap` not being recognized when passed directly [Closes #13414]
only show production warning when having either styles on scripts optimization turn on [Closes #13415]
add missing declaration types in build_angular schemas. [Closes #13388]
prints a warning on --host on serve [Closes #11060]

@angular-devkit/build-optimizer (0.12.2)

Commit Description Notes
support windows paths in rollup plugin

@angular-devkit/core (7.2.2)

Commit Description Notes
Make default and info log messages use default colors [Closes #13439]

@ngtools/webpack (7.2.2)

Commit Description Notes
drop only unused default import when used with named imports

@schematics/update (0.12.2)

Commit Description Notes
ensure option is string when replacing environment variable references

Special Thanks

Alan, Alan Agius, Keen Yee Liau, Renovate Bot, Johannes Steier, Mikel Ward, Matthias Gaudin, Hans Larsen, Filipe Silva, Moritz Benzenhöfer, 調月奏

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

[Feature] Support for standard query parameters

This issue will be the official tracking issue for standard query parameters.

TL;DR: Here's a table of all the standard query parameters:

Property Description Notes
access_token OAuth 2.0 token for the current user. I'm currently tracking progress via #18 This is done!
callback The callback function. I'm probably not going to implement this but I'll leave it up to the consumer
fields Specifies what fields to return. This might introduce tons of breaking changes, so I'll hold this off for now.
key The API key. This has already been implemented.
prettyPrint Whether to return a response with indentations & line breaks. -
quotaUser An alternative to userIp. See the docs for more info.
userIp IP address of the end user for whom the API call is being made. See the docs for more info

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.