Install the Vimeo Node.js library
masterTo use the Vimeo API in your Node.js application, install the @vimeo/vimeo package via npm.
npm install @vimeo/vimeorepository·master·Indexed 42 days ago
https://github.com/vimeo/vimeo.jsA Node.js library (version 3.0.3) for interacting with the Vimeo API. It provides a structured client via the Vimeo class to manage video data and account interactions, with optional access to the underlying vimeo_module.
To use the Vimeo API in your Node.js application, install the @vimeo/vimeo package via npm.
npm install @vimeo/vimeoIn addition to the Vimeo class, the library exports the raw vimeo_module. This is useful if you need to access internal components or specific logic exported by the core library module that is not directly attached to the Vimeo class.
const { vimeo_module } = require('vimeo');The vimeo.js library exports the main Vimeo class, which is the primary entry point for interacting with the Vimeo API. You can also access the underlying vimeo_module if needed. To use the client, require the package and instantiate the Vimeo class.
const { Vimeo } = require('vimeo');
// The Vimeo class is used to initialize the client
const client = new Vimeo(clientId, clientSecret, accessToken);