Comments (5)
As far as I know, google sheets API does not have the interface to access to sheets without authentication (even if public sheets). However. I could be enhanced to convert only the first sheet in the book by scraping from a public google sheets URL.
Is this enough for your use case?
If yes, I would try to implement the feature.
Thanks,
from sqlitebiter.
hi there, thanks for responding right away!
yes, if you'll be interested in doing that, we can then continue with the practice session that we started the other day. thanks in advance!
from sqlitebiter.
Thank for your answer.
I found another limitation to scraping from a public google sheets URL as it is
(number of columns limited to 26, and number of rows limited to 100).
So, it may not an effective solution.
I found two workarounds.
Both of the methods can convert the whole book (even when included multiple sheets).
Are these workarounds could solve your issue?
- a. Publish the book as a web page and convert the page by using
sqlitebiter url
subcommand - b. Download as an Excel file and convert the file by using
sqlitebiter file
subcommand
a. Publish the book
- Select menu:
File
->Publish to the web
- Select
Link
tab - Select
Entire Document
andWeb page
- Press
Publish
button- If you check
Automatically republish when changes are made
the page automatically update when you edit the page
- If you check
- Convert from the published web page URL to a SQLite file by using
sqlitebiter url
subcommand- In this method, sheet names are dropped during conversion
$ sqlitebiter url https://docs.google.com/spreadsheets/d/e/XXXXX-XXXXXXXXXXXXXX-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-XXXXXXXXXXXXXXXXXXXX/pubhtml
b. Download the book
- Select menu:
File
->Download as
->Microsoft Excel (.xlsx)
- Convert from the downloaded Excel file to a SQLite file by using
sqlitebiter file
subcommand
$ sqlitebiter file book.xlsx
from sqlitebiter.
yap, after we opened a github issue, we did the option b =)
good to learn from you that there is also option a.
thanks for sharing!
from sqlitebiter.
I'll close the issue, then.
Feel free to reopen if you still have any other issues.
from sqlitebiter.
Related Issues (20)
- update $archive value to "sqlitebiter_windows_amd64.zip" in get-sqlitebiter.ps1 HOT 1
- How do I specify columns orders when loading form an array of JSON objects? HOT 3
- Handle Wikipedia table faulty boolean design; and HTML headers with row/colspan > 1 (also XLS) HOT 1
- XLS import FAILs when a header cell is blank
- XLSX conversion crashes with NoneType for authorId, seems related to cell comments
- json to sqlLite Error HOT 1
- ODS Support
- Convert excel DATE to sqlite DATE
- Unable to locate package HOT 1
- Retain leading zeros when converting text or --no-type-inference HOT 1
- Support simple hierarchical JSON HOT 2
- Automatically detect and create Primary and Foreign Keys HOT 2
- Better default name for database file
- Non able to create output, starting from a simple html page HOT 4
- incompatibility between pip V22 json output and sqlitebiter HOT 1
- Installation dpkg (.deb package) Failing HOT 1
- Convert to spaces HOT 2
- Add --unescape option HOT 1
- Allow inferring source format from alternate string HOT 6
- sqlite3.IntegrityError: NOT NULL constraint failed: _source_info_.format_name HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sqlitebiter.