Animate shapekeys by script?

Is there a way to set shapekey’s keyframe from code? Quick look through manual, examples and this forum didn’t give the answer.
Could anyone if possible make a tutorial on this similar to “animation_movebone” one?
Sorry if question is silly.

1 Like