retrievre keyframe values for a given object

Hi,

i am trying to get the values for single keys for an animated object. But when i am trying to do something like

objects[1].rotation.controller.keys[1].value

i get an error ("Runtime error: Cannot access keys for this controller: Controller:Euler_XYZ")

objects[1] has a controller and keys.

Anyone knows how to get these values? I tried the documentation but that didn't really help me...

thx in advance,
pettersson