I don't know of any sample code library. Depending on how comfortable you are with C style programming, I suggest that you look through the functions help PDF, to familiarize yourself with them. Also, the functions are shown in the systems tab (bottom right).
I've found, that with the small samples in the help file, and a little playing around in the emulator, that most of it is easy to learn. If you really get stuck, you can ask here, or call Red Lion. The key is to know what is available.