Skip to content

Instantly share code, notes, and snippets.

@creachadair
Last active December 5, 2021 17:25
Show Gist options
  • Select an option

  • Save creachadair/d4822722ab82641c37047eff1d613ae5 to your computer and use it in GitHub Desktop.

Select an option

Save creachadair/d4822722ab82641c37047eff1d613ae5 to your computer and use it in GitHub Desktop.
Metadata queries for ILoF

Metadata Queries for ILoF

These queries require curl and jq.

  • Twitter handles for all guests who have them:

    curl -s https://inlieuof.fun/guests.json | jq -r '[.guests[].twitter|select(.)]|sort[]'
  • The names of all guests who do not have Twitter handles:

    curl -s https://inlieuof.fun/guests.json | jq -r '.guests[]|select(.twitter|not).name' 
  • Details for the most recent episode:

    curl -s https://inlieuof.fun/latest.json 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment