Hi timur,
is it possible to execute this JSON command via the Python API?
{
"get."
{
"type" : "renders",
"mask": "farmhost.*"
}
}
Or is this only possible via afcmd?
Best regards,
Laurence
Python API - JSON?
Re: Python API - JSON?
By "Python API" we call af.py module.
There is no method to send JSON data in it.
But it uses
https://github.com/CGRU/cgru/blob/maste ... af.py#L692
function
https://github.com/CGRU/cgru/blob/maste ... ork.py#L22
to send JSON data.
You can use it too.
(afnetwork.py can be called undocumented Python API)
There is no method to send JSON data in it.
But it uses
https://github.com/CGRU/cgru/blob/maste ... af.py#L692
function
https://github.com/CGRU/cgru/blob/maste ... ork.py#L22
to send JSON data.
You can use it too.
(afnetwork.py can be called undocumented Python API)
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
Re: Python API - JSON?
Hi Timur,
that helps me.
Thank you very much!
Best regards,
Laurence
that helps me.
Thank you very much!
Best regards,
Laurence