GithubHelp home page GithubHelp logo

Comments (4)

odino avatar odino commented on May 27, 2024

Hey @yamanmalkoc, I used to have this problem when the file was not shared publicly, or the link wasn't pointing to the tsv export format. Do you have a public link I can use to have a look at the file?

from docsql.

yamanmalkoc avatar yamanmalkoc commented on May 27, 2024

Thanks for the reply, yes, turns out it is because the file is not shared publicly. Tho I can't make these sheets available to the public. Is there a way to give credentials and authorize the tool to download from a private spreadsheet?

Although it doesn't look like there is an option in the tool which you can give account credentials to access a private spreadsheet.

Do you think that can be added as a feature? I can make a pull request work on such an additional feature if you think that would be valuable. Or I might just do that just for myself if you prefer to keep the code as simple as it is now.

from docsql.

odino avatar odino commented on May 27, 2024

Unfortunately, you won't be able to use private sheets as of now.

The implementation is fairly trivial but also requires the user to actually login through their google account, making it harder for an automated tool to complete such workflow:

https://developers.google.com/sheets/api/quickstart/go

I've worked in a few companies where most "configuration" data is exposed via Google sheets -- nothing "too" sensitive in there. Of course, if you have a list of employees with salaries it might be a bad idea, but for data that's not sensitive I think making the sheet public is an acceptable trade-off (the link is randomized enough that it would be hard to just guess the URL).

Let me know if I can help with anything else 🙂

from docsql.

odino avatar odino commented on May 27, 2024

BTW there might be a chance to access the sheet without the web authorization from the user: https://stackoverflow.com/a/50562013

If you're interested and have some time to write a prototype, I'd be happy to integrate the code back to docsql (just don't have the time to test this method now).

https://developers.google.com/sheets/api/guides/authorizing#APIKey

from docsql.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.