Created
August 18, 2023 19:48
-
-
Save exosyphon/a974a476a06f782f5d4fca44da322ecb to your computer and use it in GitHub Desktop.
Fetch data and parse using curl, jq and fzf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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