posit-dev/py-shiny

Example app: weather map

Open

#543 geöffnet am 2. Juni 2023

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (126 Forks)github user discovery
good first issue

Repository-Metriken

Stars
 (1.723 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Can start with map app: https://pyshiny.netlify.app/examples/#map

Use the coordinates to fetch data from weather API: https://www.weather.gov/documentation/services-web-api

Take the lat/lon to fetch gridX and gridY: https://api.weather.gov/points/39.7456,-97.0892

Then use the gridX and gridY to fetch weather forcast: https://api.weather.gov/gridpoints/TOP/31,80/forecast

Example app showing how to do fetches: https://pyshiny.netlify.app/examples/#fetch-data-from-a-web-api

Contributor Guide