mschilli / net-google-drive-simple

Net::Google::Drive::Simple CPAN Module
Other
11 stars 22 forks source link

how to add convert=true in the upload url #12

Closed shadowhunter2009 closed 7 years ago

shadowhunter2009 commented 8 years ago

I want to make my pipe line automatically.

Uploading the csv file, convert it into spreadsheet, and then run app script on that.

One issue is that how could I add convert=true to the upload url.

mschilli commented 8 years ago

Is this a documented feature?

shadowhunter2009 commented 8 years ago

From google? It is documented for sure.

shadowhunter2009 commented 7 years ago

Hi, any updates on this?

mschilli commented 7 years ago

I was hoping you'd point me to the documentation you were referring to.

shadowhunter2009 commented 7 years ago

the following is the one.

https://developers.google.com/drive/v2/reference/files/insert

mschilli commented 7 years ago

file_upload() should do exactly what you need:

http://search.cpan.org/~mschilli/Net-Google-Drive-Simple-0.12/lib/Net/Google/Drive/Simple.pm