the article you found is a news post from 2010. That API was meant for creating PDF files from articles on websites (title, text, author), it could not convert DOC or ODT files, and it is no longer available.
You can convert DOC and ODT files to PDF online in the browser: