Accessing Curve values in python from 2.5


I would like to query the values of the curves corresponding to one of the armature bones in my scene. In blender 2.5. Does anybody know how to do that? Or could point me to the right piece of documentation?
Thanks a lot!


And by curves, I mean the animation curves, the ones that can be edited in the “graph editor” (I realized it was not necessarily obvious).