Can I generate a PDF from a worksheet through API?

Can I generate a PDF from a worksheet through API?

Hello,

I'd like to use the Sheet API to inject data into a worksheet and then export that worksheet as a PDF. Is this possible?