Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

brightcove-services

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brightcove-services

A library of clients that connect to Brightcove APIs and services.

  • 1.4.3
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
2
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

documented: well

Brightcove Services

A promise based wrapper for supported Brightcove APIs.

Info

  • Status: Active
  • Type: Back-end Library
  • Versioning: Semver

Documentation

All project documentation is in this Readme

Deployment

Use Manual Library Deployment documentation to deploy new versions of the library to Brightcove NPM Organization

Installation

$ npm install <bithub repo>

Usage

Chilmark (BAM)

The following example assumes authentication with signin.brightcove.com has been successful and the BC_TOKEN cookie is available to use.

var Chilmark = require('brightcove-settings').Chilmark;
var client = new Chilmark({ host: 'https://chilmarkhost' });

client.getUser(BC_TOKEN)
  .then(function(user){
    console.log(user);
  })
  .fail(function(error){
    console.log(error);
  })

SETI

The following example assumes a user object is available with an account set as current.

var SETI = require('brightcove-settings').SETI;
var client = new SETI({
  host: 'https://setihost',
  oauth: {
    host: 'https://localhost:8443',
    client: {
      id: 'fake',
      secret: 'fake'
    },
    paths : {
      token: '/oauth/token'
    }
  }
});

client.getSettings(user.currentAccount.id, 'account')
  .then(function(settings){
    console.log(settings);
  })
  .fail(function(error){
    console.log(error);
  })

OAuth (Cathy)

var OAuth = require('brightcove-settings').OAuth;
var client = new OAuth({
  host: 'https://localhost:8443',
  client: {
    id: 'fake',
    secret: 'fake'
  },
  paths : {
    token: '/oauth/token'
  }
});

client.oauth.getAccessToken(account)
  .then(function(result) {
    console.log(result.access_token);
  })
  .fail(function(error){
    console.log(error);
  });

Test

$ npm test

Maintainers

The lead maintainers on this project are

Issues

This projects uses Apps Backend Jira project.

Questions

Questions or clarifications about this project can be posted to our Slack Channel: #team-apps-backend.


This is a well-documented-project. Help improve the quality of Brightcove documentation.

FAQs

Package last updated on 25 Oct 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc