Lab 101 Use Open-Meteo API to fetch your first wea...
# pacc-dec-17-18-2024
j
Lab 101 Use Open-Meteo API to fetch your first weather forecast: • 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 and restart it • Stretch 1: 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]_