Closed vitorgalvao closed 7 months ago
This removes the dependency on jq to use osascript (which ships with macOS) to parse the JSON via JavaScript.
jq
osascript
The last part was briefly tested; use with an API key and the error message were not.
No worries if you prefer to continue doing it with jq.
thanks, will look into it - having less dependencies is almost better
lgtm, thanks!
This removes the dependency on
jq
to useosascript
(which ships with macOS) to parse the JSON via JavaScript.The last part was briefly tested; use with an API key and the error message were not.
No worries if you prefer to continue doing it with
jq
.