aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/agl_stubs_weather.js
blob: 45d5f1c6b57ae943e6bb8f4f9d22e258aeb6ca4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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",
        });
    });
}