101 Lab: Use Open-Meteo API: - Authenticate your ...
# pacc-june-20-21-2024
j
101 Lab: Use Open-Meteo API: • Authenticate your CLI to Prefect Cloud • Fine to use a personal account or an organization test 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]_