[go: nahoru, domu]

Skip to content
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

Add some methods from Spreadsheet API V4 #235

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Conversation

yuyaan
Copy link
@yuyaan yuyaan commented Nov 1, 2016

Create Sheet Api

@yuyaan yuyaan closed this Nov 2, 2016
@gimite
Copy link
Owner
gimite commented Nov 2, 2016

Just curious, why did you close it?

@yuyaan
Copy link
Author
yuyaan commented Nov 2, 2016

I was going to pull request to my repository(fork this repository).
I made mistake.

@gimite
Copy link
Owner
gimite commented Nov 3, 2016

I see. But the feature looks useful, so you can actually send a pull request.

The API is available vial google-api-client gem:
https://developers.google.com/sheets/quickstart/ruby
So I would prefer to use the gem (which we already use for Drive operations) rather than performing HTTP request directly, though.

@yuyaan
Copy link
Author
yuyaan commented Nov 3, 2016

OK!! thanks.
first, I tried using google-api-client.
but I couldn't be resolved session problem(I don't know how to share auth data(like accessToken)).
so I want to know how to share auth data between GoogleDrive-API and SheetsV4-API.

@yuyaan yuyaan reopened this Nov 3, 2016
@gimite
Copy link
Owner
gimite commented Nov 3, 2016

Here's code to construct DriveService instance with authorization object. I guess you can construct SheetsService here as well and pass the same authorization object:
https://github.com/gimite/google-drive-ruby/blob/master/lib/google_drive/api_client_fetcher.rb#L22

@yuyaan
Copy link
Author
yuyaan commented Nov 3, 2016

I could access!! thanks!
I'll try replace to google-api-client.

@gimite gimite changed the title V1.0 Add some methods from Spreadsheet API V4 Feb 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants