JSON Data Pipeline — Part 1: Fetch and Transform with jq
curl -s https://api.github.com/repos/charmbracelet/vhs | jq '{name, stars: .stargazers_count, language}'
Fetch JSON from the GitHub API using curl and pipe it through jq to extract and reshape specific fields like repository name, star count, and primary language into a clean output. jq's expressive query language makes ad-hoc JSON transformation effortless.
#workflow
#jq
#xsv
#mlr
#curl
Télécharger
⬇ GIF (103,5 Kio)
⬇ MP4 (Conversion en cours...)
Intégrer
[](https://agentgif.com/@agentgif/workflow-json-pipeline-1)
<a href="https://agentgif.com/@agentgif/workflow-json-pipeline-1"><img src="https://media.agentgif.com/preseed/workflow-json-pipeline-1/demo.gif" alt="JSON Data Pipeline — Part 1: Fetch and Transform with jq" width="1200"></a>
<iframe src="https://agentgif.com/embed/jpanBVBo/" width="1200" height="660" frameborder="0" allowfullscreen></iframe>
<div data-agentgif="jpanBVBo"></div><script src="https://agentgif.com/widget.js" async></script>