csv
FormatConverts an array of objects into CSV text. The first row is a header row derived from the keys of the first object. Sets the response Content-Type to text/csv.
Syntax
csvUse cases
| Use case | Description | URL | |
|---|---|---|---|
| Export repos as CSV | Download a spreadsheet-ready CSV of repo names, stars, and language. | https://httpip.es/api/pipe/fetch:https://api.github.com/users/octocat/repos|rsort:stargazers_count|head:10|pick:name,stargazers_count,language|csv | |
| User contact export | Generate a CSV file of user names, emails, and phone numbers. | https://httpip.es/api/pipe/fetch:https://jsonplaceholder.typicode.com/users|pick:name,email,phone|csv | |
| Todo list export | Export open todos as a CSV for import into a task management tool. | https://httpip.es/api/pipe/fetch:https://jsonplaceholder.typicode.com/todos|filter:completed,eq,false|head:20|pick:id,title|csv | |
| Post summary CSV | Export a lightweight CSV of posts with just ID and title columns. | https://httpip.es/api/pipe/fetch:https://jsonplaceholder.typicode.com/posts|filter:userId,eq,1|pick:id,title|csv |