Working with WayScript helps you automate simple tasks while you can focus on the important work.
Today, we’ll learn to use Python to programmatically write CSV files with pandas.
No prerequisites but some content you might find helpful:
To make the script running, we’ll simply use a Time Trigger.
Add it as a Trigger and choose whatever time suits you best.
WayScript provides a Requests module to easily make requests without having to write a single line of code. Add it as a new step.
Once it’s done we can write the Python Script to write the JSON data into a CSV file.
WayScript also provides a Python module to execute python scripts in our workflow. Add it as a new step.
Once it’s added, we can write the script.
If you run the script, you’ll notice a new file in the project directory. Well, it’s our CSV file.
Well, here’s the content.