Created
April 30, 2018 21:55
-
-
Save pbzona/35179e69587f91d41902eb77d64e2375 to your computer and use it in GitHub Desktop.
Serverless Weather pt 2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exports.handler = (event, context, callback) => { | |
// Construct the URL to make weather forecast requests | |
const weatherURL = `https://api.darksky.net/forecast/${API_KEY}/${COORDS}?exclude=currently,minutely,hourly,flags`; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment