I just uploaded a perl module for connecting to Safari Bookshelf’s API, Net::Safari. There’s still some work to do, but I’ve been getting use out of it so I thought other people might too.
The Safari API can be really useful if you want to search within books. For example, in my POD search app I wanted to display books related to the current module. The Safari API let me search inside code examples for mentions of the module. It’s not just search inside the book – it’s search inside the code.
You can read more about the Safari API on the Safari site.