How to export slides to HTML/PDF/DOC in google slides API

Sangram Jagtap picture Sangram Jagtap · Feb 14, 2017 · Viewed 8.7k times · Source

I'm using google slides API to create powerpoint presentation. Where additional required functionalities are- Export to PDF Export to HTML Export to Doc/Image format.

Is there a way given by Slides API?

Answer

Maurice Codik picture Maurice Codik · Feb 15, 2017

The Slides API doesn't support exports directly, but that functionality is available from the Drive API:

https://developers.google.com/drive/v3/reference/files/export

Just use the Slides presentationId as the Drive fileId.