0.9.0 • Published 2 years ago
wingbot-bigquery v0.9.0
wingbot.ai BigQuery analytics storage
npm i wingbot-bigquery
Usage
const { BotApp } = require('wingbot');
const { BigQueryStorage } = require('wingbot-bigquery');
const analyticsStorage = new BigQueryStorage(credentials, projectId, datasetName);
const bot = new BotApp(/** bot app config here */);
bot.registerAnalyticsStorage(analyticsStorage);
How to run tests
Add credentials.json to ./test
folder
npm run test