#!/bin/bash URL=$1 if [[ -z "${URL}" ]]; then echo "usage: $0 " exit 1 fi curl -s "${1}" | python -m json.tool