its just the same commands, but you need to address the component index, eg:
curve.cv[7],
polyMesh.vtx[23],
etc.
you can do setAttr on these too, as a group, you address the same attrib above, considered as the transform triplet, or to do specific components:
obj.component[index].yValue
do attribute listings, or look at them in the expression editor, or CBox, or node reference to get the exact namings.