courtbot-engine-data-courtbook

    1.1.4 • Public • Published

    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>"
        }
    });

    Install

    npm i courtbot-engine-data-courtbook

    DownloadsWeekly Downloads

    1

    Version

    1.1.4

    License

    MIT

    Last publish

    Collaborators

    • avatar
    • avatar