Hey all,
As part of a recent project, I had cause to create this Google Apps Script for loading data from a farmOS instance into Google Sheets. It’s purposefully generic but at least provides a starting point for other similar use cases. Please see the code here; more details and instructions on getting it working can be found at the top of the file.
Hope this helps someone!