Generate PCBs from Keyboard Layout Editor

Hi all, can anyone give us a hint on how to automatically place components where they should be?
We ask for help about EasyEDA API scripts.

What we have already tried:

  • We have read the EasyEDA tutorial.
  • We tried to reverse engineer JSON files of a schematic and a PCB with a switch, but "PCB JSON File Source" didn't help: https://bit.ly/3itycUj
  • Our search revealed that it is possible to copy a component, place it in a specific location, and then change its suffix: https://bit.ly/3lESSdV

I think we just need a hint what API commands I need and what their syntax is.

BTW: These switches / sockets shall be placed: https://bit.ly/2X3Ez8y
P/N:CPG151101S11

#Skill#
Circuit Design
Circuit Design