Hi,
I have more than 10 years experience in php, woocommece, I can help you to do this API connection.
Can you give me that API document to see?
Can you explain the relationship between your API and woocommerce? I can see you need connect API and get result in PDF file, not relate to woocommerce.
Thanks