Skip to content

Commit d0546b3

Browse files
author
andrewm4894
committed
Checkpoint before assistant change: Add precipitation data to weather example API call.
Replit-Commit-Author: Assistant
1 parent 79bd91e commit d0546b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

metrics/examples/weather/ingest_weather.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def ingest() -> pd.DataFrame:
1010

1111
data = {
1212
city: requests.get(
13-
url=f"https://api.open-meteo.com/v1/forecast?latitude={lat}&longitude={lng}&current=temperature_2m",
13+
url=f"://api.open-meteo.com/v1/forecast?latitude={lat}&longitude={lng}&current=temperature_2m",
1414
timeout=10,
1515
).json()["current"]["temperature_2m"]
1616
for (city, lat, lng) in [

0 commit comments

Comments
 (0)