Remove API key from sample extension

This commit is contained in:
Kreg Hanning 2017-05-03 10:35:14 -04:00
parent 4be28a6e57
commit e9a57314a0

View file

@ -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);
})({});
})({});