DEV Community

Discussion on: jq + httpie = 💓

Collapse
 
cescquintero profile image
Francisco Quintero 🇨🇴

Great article and a very interesting way to use jq with HTTPie :D

thanks for sharing!

Collapse
 
pcvonz profile image
Paul

Thank you! I was definitely trying to illustrate the flexibility rather than the practicality of using jq and httpie to pull data from an API. Tapping into multiple utilities that may have their own domain specific language to learn can take a bit to wrap your head around, but can usually result in some compact (mostly) easy to understand programs.

It's a neat way to discover an API or just process a lot of data. I'm on the fence if this approach has any advantages over just using a general purpose programming language like Python, besides it being a bit of fun. 😆

Collapse
 
cescquintero profile image
Francisco Quintero 🇨🇴

BTW, I also sometime ago built an script with just two utilities: aws and jq. Here it is gist.github.com/cesc1989/495642524...

Collapse
 
cescquintero profile image
Francisco Quintero 🇨🇴

Yeah. Sometimes it's good to get our hands dirty with UNIX-way tools. I think in the long term a programming language might be superior to just bare tools but sometimes just bare tools are really enough.