Giter Club home page Giter Club logo

fulfillment-weather-python's Introduction

Dialogflow Fulfillment Weather Sample Python (Flask)

Setup Instructions

WWO Weather API Setup

  1. Get a WWO API key, by going to https://developer.worldweatheronline.com/api/ and following the instructions to get an API key that includes forecasts 14 days into the future
  2. Paste your API key for the value of the WWO_API_KEY varible on line 28 of config.py

Dialogflow Setup

  1. Create an account on Dialogflow
  2. Create a new Dialogflow agent
  3. Restore the dialogflow-agent.zip ZIP file in the root of this repo
  4. Go to your agent's settings and then the Export and Import tab
  5. Click the Restore from ZIP button
  6. Select the dialogflow-agent.zip ZIP file in the root of this repo
  7. Type RESTORE and and click the Restore button

Fulfillment Setup

  1. Deploy fulfillment to App Engine
  2. Download and authenticate the Google Cloud SDK
  3. Run gcloud app deploy, make a note of the service URL, which will be used in the next step
  4. Set the fulfillment URL in Dialogflow to your App Engine service URL
  5. Go to your agent's fulfillment page
  6. Click the switch to enable webhook for your agent
  7. Enter you App Engine service URL (e.g. https://weather-10929.appspot.com/) to the URL field
  8. Click Save at the bottom of the page

How to report bugs

  • If you find any issues, please open a bug here on GitHub

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 and the Dialogflow's Terms of Use and Privacy Policy.

fulfillment-weather-python's People

Contributors

adrianlzt avatar biman17 avatar di avatar lorismaz avatar wpcarro avatar xvir avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.