You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

@openveo/rest-nodejs-client

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@openveo/rest-nodejs-client

NodeJS REST client for OpenVeo Web Service

5.0.1
latest
Source
npm
Version published
Weekly downloads
6
200%
Maintainers
2
Weekly downloads
 
Created
Source

OpenVeo REST NodeJS Client

OpenVeo REST NodeJS client to interact with OpenVeo Web Service.

Documentation

Installation

Install the latest version with:

npm install @openveo/rest-nodejs-client

Usage

'use strict';

const url = require('url');
const OpenVeoClient = require('@openveo/rest-nodejs-client').OpenVeoClient;

const OPENVEO_URL = 'OpenVeo web service url with port';
const CLIENT_ID = 'Your application client id generated by OpenVeo';
const CLIENT_SECRET = 'Your application client secret generated by OpenVeo';

const client = new OpenVeoClient(OPENVEO_URL, CLIENT_ID, CLIENT_SECRET);

// Example to get the list of videos exposed by OpenVeo publish plugin
client.get('publish/videos?page=1&limit=10').then((result) => {
  console.log(result);
}).catch((error) => {
  console.log(error);
});

API

Documentation is available on Github pages.

Contributors

Maintainer: Veo-Labs

License

AGPL

Keywords

openveo

FAQs

Package last updated on 19 Nov 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts