Automation with zaplibrary

Hi
Can someone me with a simple example of using zaplibrary?
Thanks