Welcome to Glass Jar Presentations! Welcome! Whether you are spacing jars on a shelf, choosing shapes, or tying twine around a lid, this is a friendly spot to talk through glass jar presentation ideas. Browse the sections and add your own questions or observations whenever you are ready.

Consuming Web API JSON Data Using curl and jq

  • Thread starter Thread starter Dave Johnson
  • Start date Start date
D

Dave Johnson

Guest
I explore curl and jq in bash to consume and process JSON Web API data. The article covers setting up a Linux environment, using curl to retrieve JSON data from a weather microservice, and then using jq to format, filter, and sort that data. It additionally goes over retrieving single and multiple attributes, working with JSON arrays, and using conditional logic within jq to refine the output. The article also demonstrates how to retrieve data from a weather forecast API which returns an array of JSON objects.
 
Top