# Github API v3

1 min read, 43 words githubapirest

Use jq (opens new window) to pretty print json

ln --symbolic ~/mySoftwares/jq-linux64 jq
curl "https://api.github.com/repos/vuejs/vue/commits?per_page=5"

curl "https://api.github.com/repos/vuejs/vue/commits?per_page=5" \
  | jq '.[0] | {message: .commit.message, name: .commit.committer.name}'

curl "https://api.github.com/repos/vuejs/vue/issues?per_page=10" \
  | jq '.[] | {title}'

Subscribe to our Newsletter

If you like my work and think it was helpful kindly support my work


Buy Me A Coffee