Use this basic script to generate a CSV from a JSON API endpoint. Written in Python3 using the Pandas & requests libraries.
- Install required Python packages: pip install -r requirements.txt
- Change the
URL
to the JSON endpoint you want to use - Run
python3 main.py
- You should now see
Output.csv
formatted in CSV format with the data from the JSON API endpoint