Have ideas to improve npm?Join in the discussion! »

    @openveo/rest-nodejs-client

    4.0.0 • Public • Published

    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

    Install

    npm i @openveo/rest-nodejs-client

    DownloadsWeekly Downloads

    8

    Version

    4.0.0

    License

    AGPL-3.0

    Unpacked Size

    69 kB

    Total Files

    12

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar