Builds and returns the download URI for the given DocumentsSpreadsheet in the desired format.
Note that directly downloading the document using this URI isn't possible, as authentication is required. You should instead use DownloadStream with the URI, and use the resulting InputStream.
When requesting a <code class="literal">"csv"</code>, <code class="literal">"tsv"</code>, <code
class="literal">"pdf"</code> or <code class="literal">"html"</code> file you may specify an additional parameter
called gid which indicates which grid, or sheet, you wish to get (the index is <code class="literal">0</code>
-based, so GID <code class="literal">1</code> actually refers to the second sheet on a given spreadsheet).
| this | |
| export_format |
the format in which the spreadsheet should be exported when downloaded |
| gid |
the <code class="literal">0</code>-based sheet ID to download, or <code class="literal">-1</code> |
|
the download URI; free with g_free |