Byron / google-apis-rs

A binding and CLI generator for all Google APIs
http://byron.github.io/google-apis-rs
Other
1.01k stars 131 forks source link

FileExportCall with `gid` param #359

Closed oknozor closed 2 years ago

oknozor commented 2 years ago

Hello, I am trying to export some spreadsheet to csv, so far it works fine :

    let mut response = hub
        .files()
        .export("1XIgh2LH_9d6Ov8ux-P2EZrMItwNHRNQYAs-1rkCFVY0", "text/csv")
        .doit()
        .await?;

But some of the spreadsheets have multiple tabs, I need to export each tab separately so I tried the following:

    let mut response = hub
        .files()
        .export("1XIgh2LH_9d6Ov8ux-P2EZrMItwNHRNQYAs-1rkCFVY0", "text/csv")
        .param("gid", "12345")
        .doit()
        .await?;

This doesn't seem to work as expected. Maybe I am missing something or this is not supported yet ?