how to use python API

I want to use S4L for human body mid-frequency electromagnetic field simulation 1-10Mhz, but because the FDTD module in S4L cannot work at this frequency, I want to use the python API in the S4L software to export the working code. I want to use other physics Fanzhen software helps to realize the simulation on this frequency band. Do you have any methods for using API in S4L?