Skip to content

Instantly share code, notes, and snippets.

@exosyphon
Created August 18, 2023 19:48
Show Gist options
  • Save exosyphon/a974a476a06f782f5d4fca44da322ecb to your computer and use it in GitHub Desktop.
Save exosyphon/a974a476a06f782f5d4fca44da322ecb to your computer and use it in GitHub Desktop.
Fetch data and parse using curl, jq and fzf
curl -s https://api.weather.gov/gridpoints/LWX/96,70/forecast/hourly | jq -c '.properties.periods[]' | fzf --reverse --header 'Make a selection' --no-height --preview 'printf %s {} | jq' -e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment