Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thebenforce/bixby-dashbot-analytics
Collect analytics in your bixby capsules
https://github.com/thebenforce/bixby-dashbot-analytics
analytics bixby bixby-developer-studio dashbot javascript-library
Last synced: 23 days ago
JSON representation
Collect analytics in your bixby capsules
- Host: GitHub
- URL: https://github.com/thebenforce/bixby-dashbot-analytics
- Owner: theBenForce
- License: mit
- Created: 2019-09-20T01:28:59.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-09-20T01:37:58.000Z (over 5 years ago)
- Last Synced: 2024-12-06T21:28:32.492Z (29 days ago)
- Topics: analytics, bixby, bixby-developer-studio, dashbot, javascript-library
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bixby-dashbot-analytics
Collect analytics in your bixby capsules## Basic Use
### Installation
Copy the `lib/dashbot.js` file into your capsule. It should be named `code/lib/dashbot.js`.### Configuration
Add a secret to the capsule called `dashbotKey` and add an api key from dashbot.### Sending Data
In your action, include the library:
```javascript
const dashbot = require("./lib/dashbot");
```Then call either `dashbot.incoming` or `dashbot.outgoing` depending on if you're logging user messages or your response.
```javascript
dashbot.incoming(
"actionName",
"Some query from the user",
$vivContext,
{}
);
```