Manipulating Action Strips with Python

Hi,

Can anyone point me to examples of Python scripts for manipulating action strips?

What I ultimately want to do is to use data from an external file to apply different actions, at various points in the timeline, on to an armature.

Thanks