I can whip up some sample python code for ya. That's what BlurbyBot is written in.

//