# n-vimeo

> Vimeo API (data) Integration for the rest of us

Latest version **0.3.0** (published 2012-05-30) · 0 weekly downloads

## Install

```sh
npm install n-vimeo
pnpm add n-vimeo
yarn add n-vimeo
bun add n-vimeo
```

## 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.3.0 |
| Published | 2012-05-30 |
| First published | 2011-12-15 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.6.0 |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Alejandro Morales |
| Maintainers | alejandromg |
| Keywords | api, vimeo, request |

## Links

- npm: https://www.npmjs.com/package/n-vimeo
- Repository: https://github.com/alejandromg/node-vimeo
- npm.io page: https://npm.io/package/n-vimeo

## Dependencies (1)

- [request](https://npm.io/package/request.md) *

## Alternatives

- [launchdarkly-js-client-sdk](https://npm.io/package/launchdarkly-js-client-sdk.md) — 2.5M weekly downloads
- [@elastic/elasticsearch](https://npm.io/package/@elastic/elasticsearch.md) — 2.1M weekly downloads
- [@c8y/client](https://npm.io/package/@c8y/client.md) — 15.3K weekly downloads
- [@signaldb/maverickjs](https://npm.io/package/@signaldb/maverickjs.md) — 1.7K weekly downloads
- [@bbc/http-transport-cache](https://npm.io/package/@bbc/http-transport-cache.md) — 1.2K weekly downloads

## Recent versions

- 0.3.0 (latest) — 2012-05-30
- 0.2.4 — 2011-12-30
- 0.2.3 — 2011-12-28
- 0.2.2 — 2011-12-20
- 0.2.1 — 2011-12-19
- 0.1.1 — 2011-12-15
- 0.0.1 — 2011-12-15

## README

# Vimeo API Interaction with node.js

[![Build Status](https://secure.travis-ci.org/alejandromg/node-vimeo.png)](http://travis-ci.org/alejandromg/node-vimeo)


Simple Vimeo API interaction for node.js based on [request](http://github.com/mikeal/request)

`npm install n-vimeo`
  
## Example

    var vimeo = require('n-vimeo').vimeo;

    // Get the albums from user = brad
    vimeo('user', 'brad','albums', function(err,data){
      // Work with data o handle the error
    });

## Motivation

There is a [vimeo-client](https://github.com/tih-ra/vimeo-client) already but that module expose a middleware for upload and oauth process. 
But what I needed was a client to work with the data API of vimeo, so I created this module.

## API

As I explain above, all the methods works in the same way, you expose the `vimeo` function at require. So
then you can use it:

    vimeo(METHOD, ID, REQUEST, RESPONSE);

Where `METHOD` can be:

    channel, user, activity, video, album, group

`ID` can be: The `user, channel, group` Identificator.

And `REQUEST` are the options for every method, `video` no use a `request` param.

Also, you can use specific methods like: `user`, `video`, or `activity` as follow:

    var user = require('n-vimeo').user;

    user('brad', 'album', function(err,data){
      // data
    });

O `video`:
  
    var video = require('n-vimeo').video;

    video('32646874', function(err,data){
      // Here the API expose three new objects: raw, thumb, username
      console.log(data.raw); // The whole response of the call
      data.thumb; // expose the 3 different sizes of thumbnail, thubm.s, thumb.m, thumb.l;
      data.username; // video owner
    });

    

## Contributors

* [Alejandro Morales](http://alejandromorales.co.cc)

## Licence:  MIT 2012

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