diff options
Diffstat (limited to 'src/js/agl_stubs_weather.js')
-rw-r--r-- | src/js/agl_stubs_weather.js | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/js/agl_stubs_weather.js b/src/js/agl_stubs_weather.js new file mode 100644 index 0000000..45d5f1c --- /dev/null +++ b/src/js/agl_stubs_weather.js @@ -0,0 +1,20 @@ +export function current_weather() { + return new Promise((resolve, reject) => { + resolve({ + weather: [ + { + icon: "01d", + description: "clear sky" + }, + ], + wind: { + speed: 7.56 + }, + main: { + temp: 46, + humidity: 53 + }, + name: "Mountain View", + }); + }); +}
\ No newline at end of file |