Released under MIT open source license. Feel free to use this in any of your projects free of charge. I will be regularly updating it.
http://markhamilton.info/src/pdtvapi-0.1.zip
Update: For the latest version and documentation, you can check out the dedicated PDTV Library Page
