Skip to content

Instantly share code, notes, and snippets.

@pmuellr
Created January 2, 2018 14:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pmuellr/3a5bf5cdd64cba0a4910531292a6371e to your computer and use it in GitHub Desktop.
Save pmuellr/3a5bf5cdd64cba0a4910531292a6371e to your computer and use it in GitHub Desktop.
weather data from api.weather.gov
weather forecast from api.weather.gov:
given geolocation:
GET https://api.weather.gov/points/35.6912,-78.8012
extract:
properties.forecastGridData: eg, https://api.weather.gov/gridpoints/RAH/67,53
properties.relativeLocation.properties.city, eg, "Holly Springs"
properties.relativeLocation.properties.state, eg, "NC"
The data in the URL properties.forecastGridData is the tabular data in JSON.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment