posit-dev/py-shiny

Example app: weather map

Open

#543 创建于 2023年6月2日

在 GitHub 查看
 (3 评论) (0 反应) (0 负责人)Python (126 fork)github user discovery
good first issue

仓库指标

Star
 (1,723 star)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南