New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

actions-on-google

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

actions-on-google

Actions on Google Client Library for Node.js

  • 2.0.0-alpha.4
  • alpha
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6.6K
decreased by-21.21%
Maintainers
1
Weekly downloads
 
Created
Source

Actions on Google Client Library - V2 Alpha release

This is an Alpha release of the Actions on Google client library for Node.js. The APIs presented are not to be considered stable; we might make breaking changes to address feedback from the Actions on Google developers community.

This client library makes it easy to create your apps for the Google Assistant, and supports both Dialogflow fulfillment and the Actions SDK webhook.

NPM Version Build Status

Setup Instructions

Install the library with either npm i actions-on-google@2.0.0-alpha.4 or yarn add actions-on-google@2.0.0-alpha.4 if you use yarn.

Dialogflow

  1. Import the appropriate service:
const { dialogflow } = require('actions-on-google')
  1. Create an instance:
const app = dialogflow()

Actions SDK

  1. Import the appropriate service:
const { actionssdk } = require('actions-on-google')
  1. Create an app instance:
const app = actionssdk()

You can find more usage samples in the samples directory, both for Javascript and Typescript.

Alpha Instructions

This library uses yarn to run commands. Install yarn using instructions from https://yarnpkg.com/en/docs/install or with npm: npm i -g yarn.

Install the library dependencies with yarn. If you want to run any of the sample apps, follow the instructions in the sample README.

Public interfaces, classes, functions, objects, and properties are labeled with the JSDoc @public tag and exported at the top level. During the alpha, anything can be changed so make sure to strictly reference the version rather than use approximations (don't use ^, ~, >=, or * in the package.json version). After alpha during general availability, everything else that is not labeled @public and exported at the top level is considered internal and may be changed.

This library supports the following Services:

  • Dialogflow v1 and v2
  • Actions SDK v2 only

Actions SDK

This library supports only Actions SDK fulfillment version 2.

To ensure that your fulfillment uses version 2, set the "fulfillmentApiVersion": 2 property in your action package.

Supported Features

The Actions on Google Node.js Client Library V2 Alpha supports almost all v1 features with the major exception of incoming Dialogflow responses

Samples

To run the samples included with the alpha, follow the instructions in the README for each sample's folder.

References and How to report bugs

Note that the Actions on Google documentation currently shows usage of v1 of the client library, as that is still the stable version.

How to make contributions?

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

License

See LICENSE.md.

Terms

Your use of this library 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.

Keywords

FAQs

Package last updated on 04 Apr 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc