Search code examples
google-apigoogle-slides-api

Download a Google Slides Presentation to a PDF Document


I'm using google slide api to generate google slide presentation. but I want to convert this presentation on PDF unsing this API, I was looking in G-slide api but I didn't found anything


Solution

  • You can do this via the Drive API's export method:

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

    Use mimeType "application/pdf" and the Slides presentationId as the Drive fileId.