hero-open-weather
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "hero-open-weather", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A simple module to fetch weather data using latitude and longitude.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -66,2 +66,34 @@ | ||
### Example Response | ||
Here's an example of the response data you might receive: | ||
```json | ||
{ | ||
"latitude": 35.6895, | ||
"longitude": 139.6917, | ||
"generationtime_ms": 1.5, | ||
"utc_offset_seconds": 0, | ||
"timezone": "UTC", | ||
"hourly_units": { | ||
"time": "iso8601", | ||
"temperature_2m": "°C" | ||
}, | ||
"hourly": { | ||
"time": [ | ||
"2024-08-04T00:00:00Z", | ||
"2024-08-04T01:00:00Z", | ||
"2024-08-04T02:00:00Z" | ||
// more timestamps | ||
], | ||
"temperature_2m": [ | ||
25.3, | ||
24.8, | ||
24.1 | ||
// more temperatures | ||
] | ||
} | ||
} | ||
``` | ||
## Author | ||
@@ -68,0 +100,0 @@ |
3468
105