Socket
Socket
Sign inDemoInstall

pydialogflow

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    pydialogflow

Dialogflow API support for Python


Maintainers
1

Readme

PyDialogflow for HTTPS server

© 2018 SiLeader.

features

  • PyAlexa (pyalexa-lambda) like syntax
  • simple system

usage

use Flask

from flask import Flask, request, jsonify
import dialow


app = Flask(__name__)


# Alexa like syntax
@app.route("/dialogflow/endpoint", methods=["POST"])
def dialogflow_endpoint():
    req = dialow.Request(request.json)

    if request.type == "IntentRequest":
        res = dialow.Response()
        res.output_speech(text="Dialogflow Test")
        return jsonify(res.response)

License

Apache License 2.0

See LICENSE

for Alexa

GitHub

FAQs


Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc