@Mario: It's the v2 API of farmOS that i'm trying to understand right now, 
so that is the focus.  

As compared w/ the 1.x version, v2 is said to be more powerful -and, i am 
finding, more exacting in its requirements.  In trying to .GET data from 
both (all that i've done so far[1]), using the farmOS.py library 
<https://github.com/farmOS/farmOS.py>, there are some interesting methods 
available for client 2.x 
<https://github.com/farmOS/farmOS.py/blob/1.x/docs/client_2x.md> -iterate, 
for example- but i've been having real trouble getting some of them to run 
(in fact, when i passed the traceback on my .iterate fail to developer, he 
admitted i may have found a bug).

[1] As a volunteer tester for the data migration program, all i've done so 
far is download .csv exports from those tables in the database most of 
interest to me, and try to spot any diffs in the downloads from v1.x and v2 
instances, so i've been avoiding the PUT, POST and DELETE methods for now.  
But i've got a bigger challenge, once this phase of testing is complete, to 
load a bunch of data from spreadsheets where we do our crop planning, which 
process will be greatly facilitated by API scripts... So i'm feeling the 
need to understand this API, what we can and can't do with it, just as 
quick as i can get up the learning curve!

SO @Mario: do you think as i do that an API Explorer in TW could be a 
useful tool in this pursuit? and, if so, then is it something that might be 
built w/ relative ease?

/walt

On Monday, July 19, 2021 at 10:47:58 PM UTC+1 PMario wrote:

> Hi Walt,
>
> After I did send my last post, I did find the new docs for version 2 of 
> farmOS. I can see your dilemma 
> <https://docs.farmos.org/hosting/migration.html#limitations> now. 
>
> The question is, do you want to explore the V2 API or the V1.x API. It 
> seems they are fundamentally different. 
>
> -mario
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2d1a6e7b-a27d-4dcf-891c-41dbf1b8f275n%40googlegroups.com.

Reply via email to