JSPM

  • Created
  • Published
  • Downloads 4981
  • Score
    100M100P100Q161298F
  • License Apache-2.0

Actions on Google Client Library for Node.js

Package Exports

  • actions-on-google

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (actions-on-google) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Actions On Google Client Library

This Actions On Google client library makes it easy to create your apps for the Google Assistant.

The client library supports both the Actions SDK webhook and Dialogflow fulfillment.

NPM Version

Setup Instructions

Actions SDK

  1. Import the appropriate class:
const { ActionsSdkApp } = require('actions-on-google');
  1. Create an instance:
const app = new ActionsSdkApp({request: request, response: response});

Dialogflow

  1. Import the appropriate class:
const { DialogflowApp } = require('actions-on-google');
  1. Create an instance:
const app = new DialogflowApp({request: request, response: response});

References and How to report bugs

How to make contributions?

Please read and follow the steps in the CONTRIBUTING.md.

License

See LICENSE.md.

Terms

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.

Google+

Actions on Google Developers Community on Google+ https://g.co/actionsdev.