-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfakeOneCallApiResponse.js
85 lines (84 loc) · 2.72 KB
/
fakeOneCallApiResponse.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
export const fakeApiResponse = {
"lat": 33.44,
"lon": -94.04,
"timezone": "America/Chicago",
"timezone_offset": -18000,
"current": {
"dt": 1684929490,
"sunrise": 1684926645,
"sunset": 1684977332,
"temp": 292.55,
"feels_like": 292.87,
"pressure": 1014,
"humidity": 89,
"dew_point": 290.69,
"uvi": 0.16,
"clouds": 53,
"visibility": 10000,
"wind_speed": 3.13,
"wind_deg": 93,
"wind_gust": 6.71,
"weather": [
{
"id": 803,
"main": "Clouds",
"description": "broken clouds",
"icon": "04d"
}
]
},
"daily": [
{
"dt": 1684951200,
"sunrise": 1684926645,
"sunset": 1684977332,
"moonrise": 1684941060,
"moonset": 1684905480,
"moon_phase": 0.16,
"summary": "Expect a day of partly cloudy with rain",
"temp": {
"day": 299.03,
"min": 290.69,
"max": 300.35,
"night": 291.45,
"eve": 297.51,
"morn": 292.55
},
"feels_like": {
"day": 299.21,
"night": 291.37,
"eve": 297.86,
"morn": 292.87
},
"pressure": 1016,
"humidity": 59,
"dew_point": 290.48,
"wind_speed": 3.98,
"wind_deg": 76,
"wind_gust": 8.92,
"weather": [
{
"id": 500,
"main": "Rain",
"description": "light rain",
"icon": "10d"
}
],
"clouds": 92,
"pop": 0.47,
"rain": 0.15,
"uvi": 9.23
}
],
"alerts": [
{
"sender_name": "NWS Philadelphia - Mount Holly (New Jersey, Delaware, Southeastern Pennsylvania)",
"event": "Small Craft Advisory",
"start": 1684952747,
"end": 1684988747,
"description": "...SMALL CRAFT ADVISORY REMAINS IN EFFECT FROM 5 PM THIS\nAFTERNOON TO 3 AM EST FRIDAY...\n* WHAT...North winds 15 to 20 kt with gusts up to 25 kt and seas\n3 to 5 ft expected.\n* WHERE...Coastal waters from Little Egg Inlet to Great Egg\nInlet NJ out 20 nm, Coastal waters from Great Egg Inlet to\nCape May NJ out 20 nm and Coastal waters from Manasquan Inlet\nto Little Egg Inlet NJ out 20 nm.\n* WHEN...From 5 PM this afternoon to 3 AM EST Friday.\n* IMPACTS...Conditions will be hazardous to small craft.",
"tags": [
]
}
]
}