teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

4

API取得サイトの追記

2018/04/28 18:23

投稿

SasamiDaifuku
SasamiDaifuku

スコア6

title CHANGED
File without changes
body CHANGED
@@ -3,6 +3,11 @@
3
3
  [Basic Fulfillment and Conversation Setup](https://dialogflow.com/docs/getting-started/basic-fulfillment-conversation)
4
4
  のSetup Weather APIの章で詰まってしまったので質問します。
5
5
 
6
+ 追記2018/04/29
7
+ 因みにWeather APIはここから持ってきています(おそらく)
8
+ [Weather API 入手先](https://www.apixu.com/)
9
+
10
+
6
11
  ### 発生している問題・エラーメッセージ
7
12
 
8
13
  Setup Weather APIの章のチュートリアルの最後の部分で

3

2018/04/28 18:23

投稿

SasamiDaifuku
SasamiDaifuku

スコア6

title CHANGED
File without changes
body CHANGED
File without changes

2

2018/04/28 04:42

投稿

SasamiDaifuku
SasamiDaifuku

スコア6

title CHANGED
File without changes
body CHANGED
File without changes

1

2018/04/28 04:41

投稿

SasamiDaifuku
SasamiDaifuku

スコア6

title CHANGED
File without changes
body CHANGED
@@ -86,7 +86,7 @@
86
86
  'use strict';
87
87
  const http = require('http');
88
88
  const host = 'api.worldweatheronline.com';
89
- const wwoApiKey = '[YOUR_API_KEY]';
89
+ const wwoApiKey = '*';
90
90
  exports.weatherWebhook = (req, res) => {
91
91
  // Get the city and date from the request
92
92
  let city = req.body.result.parameters['geo-city']; // city is a required param
@@ -168,7 +168,7 @@
168
168
  'use strict';
169
169
  const http = require('http');
170
170
  const host = 'api.worldweatheronline.com';
171
- const wwoApiKey = 'c431cc02700d4f16acb134539182404';
171
+ const wwoApiKey = '*';
172
172
  exports.weatherWebhook = (req, res) => {
173
173
  // Get the city and date from the request
174
174
  let city = req.body.result.parameters['geo-city']; // city is a required param