UNPKG

235 BJavaScriptView Raw
1const Weather = require('../src/index');
2
3const appID = '';
4const appCode = '';
5
6const weather = new Weather({
7 appID,
8 appCode
9});
10
11weather.now('Brisbane, Australia').then((results) => {
12 console.log(results);
13});
\No newline at end of file