question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Advance Google Sheets plugin to the stable state

See original GitHub issue

Overview

We could do something like this:

  • Stream(url) - use Export API [implemented]
  • Stream(url, api_key) - use Sheet API
  • Stream(url, token_creds) - use Sheet API with private docs access

Also consider typed/force_strings flag (could be useful also for excel, json etc).

PS. Get typed data without API Key may be will be possible after this - https://github.com/burnash/gspread/issues/175 (but we don’t really want to use non-official drivers)

Tasks

  • allow using credentials
  • rebase testing on vcr.py?
  • TBD

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:3
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
brewcommented, Jun 23, 2017

ref accessing private Google Sheets:

Instead of tabulator providing the authentication logic itself, how about tabulator modules that make external requests can accept an http object as a parameter, and it’s used to make the request. That way, the user of the module can pass in an http object that is setup correctly for authentication for their specific requirements.

I have some util code for the Measure project that returns an authenticated http object, that is subsequently used to make an API request, without requiring the Service API lib.

google_utils. get_authorized_http_object()

used in code here

1reaction
akarivcommented, May 29, 2017

Based on the info above, I would go with the Stream API implementation route.

Read more comments on GitHub >

github_iconTop Results From Across the Web

10 Best Google Sheets Add-ons for Data Analysis and Reporting
This guide covers our picks for the top Google Sheets add-ons (alternatively referred to as Google Sheets plugins or Google Sheets ...
Read more >
Extending Google Sheets with Add-ons | Apps Script
Here are a few things you can do with an add-on that extends Google Sheets: You can read, edit, visualize, and format data...
Read more >
Google Sheets - Make
Get a Cell. Retrieves a value from a selected cell. ... Establish a connection to the spreadsheet using your Google account. ... Select...
Read more >
Use Smart Fill in Sheets to automate data entry - Google Support
Smart Fill uses data in your sheet and knowledge available through Google's public Knowledge Graph to detect patterns and generate suggestions.
Read more >
Google Chrome Privacy Whitepaper
Chrome may then show a warning like the one pictured above. If you are enrolled in Google's Advanced Protection Program, Chrome will show...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found