Skip to content

Instantly share code, notes, and snippets.

@gcg
Created March 11, 2014 12:23
Show Gist options
  • Save gcg/9484562 to your computer and use it in GitHub Desktop.
Save gcg/9484562 to your computer and use it in GitHub Desktop.
Pretty API calls with Curl and python pygmentize for Json responses
function jsoncall {
curl $1 | python -mjson.tool | pygmentize -f terminal256 -l json -O style=monokai
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment