282cfa6e93
`Credential.Builder()` requires a non-null `AccessMethod`[0], and we were sending it `null` when actually importing the spreadsheet. This commit defaults to the same `BearerToken.authorizationHeaderAccessMethod()` that the `getDriveService()` function was already using. [0]: https://github.com/googleapis/google-oauth-java-client/blob/v1.31.0/google-oauth-client/src/main/java/com/google/api/client/auth/oauth2/Credential.java#L636-L638 Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu> |
||
---|---|---|
.. | ||
module | ||
src/com/google/refine/extension/gdata | ||
tests | ||
LICENSE.txt | ||
pom.xml | ||
README.txt |
OpenRefine extension for Google Spreadsheets by Tom Morris <tfmorris@gmail.com> This extension provides Refine with the ability to read Google spreadsheets directly so you don't have to export them as CSV files first. Unpack the contents of this archive (jar, zip, etc) into the extensions folder of your Refine installation and restart Refine. Enter the *public* share URL of a Google Spreadsheet in the "Data File URL" field of the "Create a New Project" pane of the Refine home page. If you end up with a project full of HTML tags and an RSS feed, the extension isn't installed properly. A properly installed extension should have an About page available at http://127.0.0.1:3333/extension/gdata/ (the trailing slash is significant). Known limitations: - No write support - No authentication support. You must use the public share URL for the the Google spreadsheet you want to load.