ashish365 / digisarkari

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Api.ai - sample webhook implementation in Python

This is a really simple webhook implementation that gets Api.ai classification JSON (i.e. a JSON output of Api.ai /query endpoint) and returns a fulfillment response.

More info about Api.ai webhooks could be found here: Api.ai Webhook

Deploy to:

Deploy to Heroku

What does the service do?

This is uses google api to return address of a place and its opening or closing time along with the contact number of that place if available. The place is accepted in a parameter called geo-city. This is integratd in a chat bot service called digibot.

The service packs the result in the Api.ai webhook-compatible response JSON and returns it to Api.ai.

How to make contributions?

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

License

See LICENSE.

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.

This is not an official Google product

About

License:Apache License 2.0


Languages

Language:Python 100.0%