Table of Contents | ||
---|---|---|
|
Overview
This page outlines the steps necessary to interact with the Genesis Foods API to export a file in CSV format. It utilizes Python, a common computer programming language, to interface with the Genesis Foods API - but users don’t need to know the details in order to work with the API.
Simply follow the instructions below (specifically for MacOS or Windows) to demonstrate how to export recipe information to CSV format.
Download the Files
You will need to download two files - the script that runs the export and a configuration file for the options. These can be downloaded from the Genesis Foods API Example repository (https://github.com/esha/genesis-foods-api-examples ) using the raw download option on the following pages.
| |||
|
|
Take note of what directory you’ve downloaded those files to - that will be important in subsequent steps.
...
1 | Change to the directory you downloaded the '
| |
2 | Run the command |
You will see the script run, and the CSV file will be exported based on the configuration option you set in the output_csv
variable.
Next Steps
...
.