- 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
- Paste your API key for the value of the
WWO_API_KEY
varible on line 28 ofconfig.py
- Create an account on Dialogflow
- Create a new Dialogflow agent
- Restore the
dialogflow-agent.zip
ZIP file in the root of this repo - Go to your agent's settings and then the Export and Import tab
- Click the Restore from ZIP button
- Select the
dialogflow-agent.zip
ZIP file in the root of this repo - Type RESTORE and and click the Restore button
- Deploy fulfillment to App Engine
- Download and authenticate the Google Cloud SDK
- Run
gcloud app deploy
, make a note of the service URL, which will be used in the next step - Set the fulfillment URL in Dialogflow to your App Engine service URL
- Go to your agent's fulfillment page
- Click the switch to enable webhook for your agent
- Enter you App Engine service URL (e.g.
https://weather-10929.appspot.com/
) to the URL field - Click Save at the bottom of the page
- If you find any issues, please open a bug here on GitHub
Please read and follow the steps in the CONTRIBUTING.md
See LICENSE.md
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.