How to get the list of copper layers in python scrpting?

I think that the docs at https://docs.kicad.org/doxygen-python/ are for 6.0.x.

The reason for my thinking being the pcbnew.FOOTPRINT.SetPosition stil takes a wxpoint as an argument, while the 6.99 changed to take VECTOR2I as an argument.

I’ve asked for documentation, but there was no enthusiasm about it.