Skip to content

A data source for courtbot that pulls data from a courtbook instance.

Notifications You must be signed in to change notification settings

codefortulsa/courtbot-engine-data-courtbook

Repository files navigation

courtbot-engine-data-courtbook Build Status

A data source for Courtbot that pulls data from a Courtbook instance.

Configuration

An environment variable must be defined with one or more API tokens. This token is used by a Courtbook instance to talk with a Courtbot instance.

Usage

From your instance of Courtbot, you just need to register this Courtbot extension with a few configuration settings:

import courtbookData from 'courtbot-engine-data-courtbook';

courtbookData({
	courtbookUrl: "https://courtbook",
	oauthConfig: {
		tokenUrl: "https://oauth-provider/url",
       audience: "https://oauth-provider/audience",
       clientId: "<client_id>",
       clientSecret: "<client_secret>"
	}
});

About

A data source for courtbot that pulls data from a courtbook instance.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •