Lab 101: Use Open-Meteo API - Authenticate your CL...
# pacc-apr-10-11-2024
k
Lab 101: Use Open-Meteo API • Authenticate your CLI to Prefect Cloud • Fine to use a personal account or a workspace • Take a function that fetches data and make it a flow • Use .serve() method to deploy your flow • Run your flow from the UI • Create a schedule for your deployment • Shut down your server • Run a deployment from the CLI, override the params • API docs: open-meteo.com/en/docs • Example: wind speed for the last hour: _weather.json()["hourly"]["windspeed_10m"][0]_
🙌 1