# youtube-api-get

> Youtube api

Latest version **1.0.1** (published 2016-11-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install youtube-api-get
pnpm add youtube-api-get
yarn add youtube-api-get
bun add youtube-api-get
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2016-11-09 |
| First published | 2016-11-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Antonio Sandoval |
| Maintainers | archr |

## Links

- npm: https://www.npmjs.com/package/youtube-api-get
- Repository: https://github.com/archr/youtube-api-get
- Homepage: https://github.com/archr/youtube-api-get#readme
- Issues: https://github.com/archr/youtube-api-get/issues
- npm.io page: https://npm.io/package/youtube-api-get

## Dependencies (3)

- [request](https://npm.io/package/request.md) ^2.78.0
- [querystring](https://npm.io/package/querystring.md) ^0.2.0
- [request-promise](https://npm.io/package/request-promise.md) ^4.1.1

## Recent versions

- 1.0.1 (latest) — 2016-11-09
- 1.0.0 — 2016-11-09

## README

# youtube-api-get
Made http request to the [youtube api](https://developers.google.com/youtube/v3/docs/)

## Installation
```sh
$ npm install youtube-api-get
```

## Usage
```js
var Youtube = require('youtube-api-get')
var youtube new Youtube('YOUR KEY')

// Get video by id
youtube.get('videos', {
  part: 'snippet',
  id: 'eVCfp8WuAA0'
}).then(function (res) { console.log(res) })

// Get channel by id
youtube.get('channels', {
  part: 'snippet',
  id: 'UC1l7wYrva1qCH-wgqcHaaRg'
}).then(function (res) { console.log(res) })
```

## License
MIT

---
_Source: https://npm.io/package/youtube-api-get · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
