I haven't used those APIs but looking at the examples on your link it appears that all you have to do is fetch the required data from the server with either http or curl and then parse the return with the jq command to extract and format the fields that you want using the join(",") command to store/print the fields in csv format.
I'd start by installing httpie and experimenting with it manually to fetch the complete json output before deciding which particular fields you want and how to format them with jq and join.
There are plenty of online tutorials available for http, curl, jq and join.
|