Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jkiimm/youtube-playlist-views
Gotcha YouTube playlist views!
https://github.com/jkiimm/youtube-playlist-views
Last synced: 27 days ago
JSON representation
Gotcha YouTube playlist views!
- Host: GitHub
- URL: https://github.com/jkiimm/youtube-playlist-views
- Owner: jkiimm
- License: mit
- Created: 2016-04-18T16:42:06.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-05-09T07:34:41.000Z (over 8 years ago)
- Last Synced: 2024-11-30T06:26:38.740Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 55.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# youtube-playlist-views
gotcha youtube playlist views
[![Travis build status](http://img.shields.io/travis/jkiimm/youtube-playlist-views.svg?style=flat)](https://travis-ci.org/jkiimm/youtube-playlist-views)
[![Code Climate](https://codeclimate.com/github/jkiimm/youtube-playlist-views/badges/gpa.svg)](https://codeclimate.com/github/jkiimm/youtube-playlist-views)
[![Test Coverage](https://codeclimate.com/github/jkiimm/youtube-playlist-views/badges/coverage.svg)](https://codeclimate.com/github/jkiimm/youtube-playlist-views)
[![Dependency Status](https://david-dm.org/jkiimm/youtube-playlist-views.svg)](https://david-dm.org/jkiimm/youtube-playlist-views)
[![devDependency Status](https://david-dm.org/jkiimm/youtube-playlist-views/dev-status.svg)](https://david-dm.org/jkiimm/youtube-playlist-views#info=devDependencies)## Installation
```sh
$ npm install youtube-playlist-views --save
```## Example
### ES5
```javascript
var playlist = require('youtube-playlist-views');playlist.views('PLAYLIST_ID').then(function (views) {
var igotcha = views;
console.log(igotcha);
});
```### ES6
```javascript
import playlist from 'youtube-playlist-views';playlist.views('PLAYLIST_ID').then((views) => {
const igotcha = views;
console.log(igotcha);
});
```