I’m playing with making API calls to GitHub via their gh
command and using the --jq
flag to filter the response.
I stumbled on this great explainer for JQ and it unfolded exactly as I needed while reading through. A+
Jeremy Felt
I’m playing with making API calls to GitHub via their gh
command and using the --jq
flag to filter the response.
I stumbled on this great explainer for JQ and it unfolded exactly as I needed while reading through. A+
Responses and reactions
Likes
Replies
Mark D and I love jq for quick json processing via the command line.
One utility script we use often is generating a list of all sites connected to our account from the WordPress.com API:
curl -sH 'Accept: application/json' -H 'Authorization: Bearer [REDACTED]' https://public-api.wordpress.com/rest/v1.1/me/sites | jq -r '.sites[] | .URL' > sites.txt
The only requirement for your mention to be recognized is a link to this post in your post's content. You can update or delete your post and then re-submit the URL in the form to update or remove your response from this page.
Learn more about Webmentions.