Plain text IP via curl:
curl ip-show.com
JSON format:
curl -A json ip-show.com
Pretty-print JSON:
curl -A json "ip-show.com?pretty"