# arteplus7

> Node client for the arte+7 website

Latest version **0.1.5** (published 2014-10-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install arteplus7
pnpm add arteplus7
yarn add arteplus7
bun add arteplus7
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.5 |
| Published | 2014-10-28 |
| First published | 2014-03-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 (+5 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | thibauts |
| Maintainers | thibauts |
| Keywords | arte, replay |

## Links

- npm: https://www.npmjs.com/package/arteplus7
- Repository: https://github.com/thibauts/node-arteplus7
- Issues: https://github.com/thibauts/node-arteplus7/issues
- npm.io page: https://npm.io/package/arteplus7

## Dependencies (3)

- [lodash](https://npm.io/package/lodash.md) ~2.4.1
- [cheerio](https://npm.io/package/cheerio.md) ~0.13.1
- [rtmpdump](https://npm.io/package/rtmpdump.md) ~0.1.0

## Recent versions

- 0.1.5 (latest) — 2014-10-28
- 0.1.4 — 2014-10-28
- 0.1.3 — 2014-10-28
- 0.1.2 — 2014-10-28
- 0.1.1 — 2014-10-26
- 0.1.0 — 2014-03-18

## README

arteplus7
=========

### Node client for the arte+7 website

This module provides a clean wrapper around the arte+7 website. It enables you to list available videos, fetch video metadata and 
stream media content wherever you like.

'fr' and 'de' languages supported.

Installation
------------

``` bash
$ npm install arteplus7
```

Examples
--------

List available videos
``` javascript
var arteplus7 = require('arteplus7');

arteplus7.getVideos('fr', function(err, videos) { // 'de' works too
  if(err) throw err;
  videos.forEach(function(video) {
    console.log(video.title);
  });
});
```

Fetch video metadata
``` javascript
var arteplus7 = require('arteplus7');

var url = 'http://www.arte.tv/guide/fr/044620-002/karambolage';

arteplus7.getVideo(url, function(err, video) {
  if(err) throw err;
  console.log(video);
});
```

Get a readable video stream
``` javascript
var arteplus7 = require('arteplus7');

var url = 'http://www.arte.tv/guide/fr/044620-002/karambolage';

arteplus7.getVideo(url, function(err, video) {
  if(err) throw err;
  var rtmpStreams = video.streams.filter(function(stream) {
    return stream.type === 'rtmp';
  });
  var stream = arteplus7.createStream(rtmpStreams.shift());
  // stream.pipe() wherever you want
});
```

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