Is there some sample code available for Lepton integration?

There is example code for interfacing Lepton to several board computers (such as the Raspberry Pi) at this GitHub site. Examples are given for both image capture and video, and can be adapted to other host architectures. While some of this code is based on FLIR examples, it is being expanded and maintained by the Lepton user community.