This Actions On Google client library makes it easy to create your actions for the Google Assistant.
The client library supports both the Actions SDK webhook and API.ai fulfillment.
- Import the appropriate class:
let ActionsSdkAssistant = require('actions-on-google').ActionsSdkAssistant;
- Create an instance:
const assistant = new ActionsSdkAssistant({request: request, response: response});
- Import the appropriate class:
let ApiAiAssistant = require('actions-on-google').ApiAiAssistant;
- Create an instance:
const assistant = new ApiAiAssistant({request: request, response: response});
- Actions on Google documentation: https://developers.google.com/actions/.
- If you find any issues, please open a bug on GitHub.
- Questions are answered on StackOverflow.
Please read and follow the steps in the CONTRIBUTING.md.
See LICENSE.md.
Your use of this sample is subject to, and by using or downloading the sample files you agree to comply with, the Google APIs Terms of Service.
Actions on Google Developers Community on Google+ https://g.co/actionsdev.