If you ever deal with JSON API requests through the terminal with cURL, you might be frustrated with how the resulting data is rendered. In a normal API call (in this case, the Chuck Norris Database): curl http://api.icndb.com/jokes/random …there is no formatting at all, see: JSON with No Formatting In order to get your JSON responses to print out in the Terminal prettily formatted, you can pipe (using the | character) the response into Python using the following command: