From e9a57314a0cbea3ae2c9d1ba751c211eaf958b90 Mon Sep 17 00:00:00 2001 From: Kreg Hanning <khanning@gmail.com> Date: Wed, 3 May 2017 10:35:14 -0400 Subject: [PATCH] Remove API key from sample extension --- weather_extension.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/weather_extension.js b/weather_extension.js index 6bce41f..b35900b 100644 --- a/weather_extension.js +++ b/weather_extension.js @@ -3,7 +3,10 @@ /* Kreg Hanning <khanning@media.mit.edu>, July 2016 */ (function(ext) { - var APPID = '960f7f58abbc5c98030d1899739c1ba8'; + // You will need to obtain an API key to query + // the OpenWeatherMap.org server + // https://openweathermap.org/api + var APPID = 'INSERT_API_KEY_HERE'; var cacheDuration = 1800000 //ms, 30 minutes var cachedTemps = {}; @@ -124,4 +127,4 @@ // Register the extension ScratchExtensions.register('Weather extension', descriptor, ext); -})({}); \ No newline at end of file +})({});