If I want to add a keyframe in the graph editor, I know I can do this:
bpy.ops.graph.keyframe_insert(type='ALL')
And I suppose that if I change the 'ALL' to 'SEL', it will only apply to the selected channel, but if I want a script that changes multiple channels in different ways, how can I select them with python?