Saves the response of a REST call to a CSV file.
fetchDAtaCSV.py - expects the response to be a CSV file. fetchDataJSON.py - expects the response to be in JSON.
- [OPTIONAL] -o outputfile
python3 fetchDataJSON.py -o output.csv
or
python3 fetchDataJSON.py -o output.csv
Python module requests is required.
python -m pip install requests