Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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!

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);
});
```