-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do we want Google Sheets integration? #49
Comments
I would love this! |
Thanks for the vote! I should also point out that we had someone write up a workaround for now: http://andymeneely.github.io/squib/doc/file.README.html#Using_Google_Sheets Let me know if it doesn't work, though. Google keeps changing its apis. |
Love the idea. I use sheets for all of my development now. |
It's not looking good for Ruby+Google these days. Google has changed their API and usage rules a lot lately, and I haven't seen any Ruby gems make a concerted effort to keep up. Google also now requires things like API keys and OAuth, which complicates the process much more than most Squibbers have the stomach for. But if someone else wants to take that on, it doesn't have to integrate with Squib at all - it could just be a general exporter. I would love to be proven wrong. |
perhaps a good time to revisit this issue? |
there's also this gem But basically all one needs is a in ruby way of downloading a .csv from google sheet |
Yeah that google_drive gem is the one I was using a while back. I'm glad to see it's back to being regularly updated now. Honestly, while I know folks would love to have this built into Squib, I'm not quite ready to support it. The OAuth steps, while simple for some folks, can be a little daunting for some and I'm not ready to put the support effort into that. If someone wants to make this happen, it's easy enough to define your own method that works a lot like the Excel parser. You can always post that as a Gist or on this issue. Or, better yet, you can maintain your own gem called If that code gets used a lot and maintaining is easy, then I'd be willing to put it into Squib. |
You can use In Google Sheets:
That link is now something you can Here's how you'd do it in Squib: require 'net/http'
uri = URI("https://docs.google.com/spreadsheets/d/e/YOUR_GOOGLE_LINK/pub?gid=0&single=true&output=csv")
data = Squib.csv data: Net::HTTP.get(uri) It's what I'm using and it works great. Just say NO to Google APIs! |
Much like
xlsx
andcsv
, maybe a method to get data from Google Sheets?Pros:
Cons:
Thoughts? Post your votes here!
The text was updated successfully, but these errors were encountered: