google-actions

Client library for Actions on Google using python


License
MIT
Install
pip install google-actions==1.0.0

Documentation

Actions on Google Client Python Library

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

This library parses AppRequest objects from Google Actions Dialogflow webhooks and is able to create AppResponse objects.

Use the following libraries for creating webhooks in dialogflow with google actions for python.

PyPI

Installation

pip install google-actions

Basic Usage

from googleactions import AppRequest, AppResponse

request = "{...}" # Json request payload from dialogflow
app_request = AppRequest(request)
app_response = AppResponse('Hello world!')
print(app_request.json())
print(app_response.json())