Skip to content

Instantly share code, notes, and snippets.

@guillaume
Created April 18, 2023 12:51
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 guillaume/5ce472a173b6b515d9c5ff7e76ea8cef to your computer and use it in GitHub Desktop.
Save guillaume/5ce472a173b6b515d9c5ff7e76ea8cef to your computer and use it in GitHub Desktop.
example pirateweather alerts
curl -s "https://api.pirateweather.net/forecast/<API KEY>/44.7606441,-85.6165301?&units=si&extend=hourly&tz=precise" | jq '.alerts[].title'
"Small Craft Advisory issued April 18 at 3:49AM EDT until April 18 at 11:00PM EDT by NWS Gaylord MI"
"Small Craft Advisory issued April 17 at 4:03AM EDT until April 18 at 8:00PM EDT by NWS Gaylord MI"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment