Skip to content
This repository has been archived by the owner on Jan 11, 2022. It is now read-only.

How to get export of .gdoc/.gslides in .pdf? #53

Closed
kautaleksei opened this issue Oct 21, 2016 · 1 comment
Closed

How to get export of .gdoc/.gslides in .pdf? #53

kautaleksei opened this issue Oct 21, 2016 · 1 comment

Comments

@kautaleksei
Copy link

kautaleksei commented Oct 21, 2016

In iOS sdk we have method for this: https://developers.google.com/drive/ios/devguide/files

Some files in Google Drive are not directly downloadable. Google Docs, Sheets, and Slides must be converted into a portable format. These files can be downloaded using the export URL. For example, to export a document as a PDF:

NSString *url = [NSString stringWithFormat:@"https://www.googleapis.com/drive/v3/files/%@/export?alt=media&mimeType=application/pdf",
                          file.identifier]
@kautaleksei
Copy link
Author

I have found only this solution: http://stackoverflow.com/questions/32975533/google-drive-import-google-docs
but it's looks like a "hack". Can you add support for this, or point how I can do it in better way?
Thank you.

@asrivas asrivas closed this as completed May 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants