Rothamsted-Ecoinformatics / farm_rothamsted

Custom farmOS features for Rothamsted Research.
GNU General Public License v2.0
6 stars 1 forks source link

Update API scripts for 2.x #36

Open mstenta opened 3 years ago

mstenta commented 3 years ago

Rothamsted has some Python scripts that are currently pulling data from the farmOS 1.x API. These will need to be updated to work with the farmOS 2.x API.

My suggestion would be to create 2.x versions of these scripts, and testing them against the 2.x testing site (rothamsted.farmos.dev). Then, when we upgrade to 2.x (#28) the 1.x scripts can be retired and the 2.x scripts can be used in their place.

mstenta commented 3 years ago

@richardostler here are some references for the 2.x API:

aislinnpearson commented 2 years ago

The API scripts are mostly used for transferring data to the various databases. This is currently done by @richardostler (archive and field database) and Hadewij Sint.

This script will need updating as part of #97 so I have moved this issue to the Internal project board under To Do