2

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

New_2_Code
  • 330
  • 2
  • 18
Malki Mohamed
  • 1,578
  • 2
  • 23
  • 40

1 Answers1

1

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.

Maurice Codik
  • 598
  • 2
  • 6
  • Hi @Maurice Codik, Thank you for your replay, I see the Doc in link, but how I can specify the mimeType in this like `https://www.googleapis.com/drive/v3/files/fileId/export` I can put just the presentationId here ? – Malki Mohamed Feb 28 '17 at 09:15
  • I found it,I didn't pay attention, I jsut need to add `/pdf` to the link above,Thank you @Maurice Codik – Malki Mohamed Feb 28 '17 at 12:09