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

How do I write to specific tab? #308

Open
cameronjohnson-mz opened this issue Oct 10, 2023 · 1 comment
Open

How do I write to specific tab? #308

cameronjohnson-mz opened this issue Oct 10, 2023 · 1 comment

Comments

@cameronjohnson-mz
Copy link

cameronjohnson-mz commented Oct 10, 2023

@rlamy or anyone who can help.

I currently have CSV data that I can write to the first tab, but how can look over the sheets and write to each one? And can someone update the documentation about spreadsheets because there's no information about it.

google_file_ref = next(iter(drive.ListFile({'q':f"mimeType = 'application/vnd.google-apps.spreadsheet' and '{google_file_ref_id}' in parents and trashed=false",
        'maxResults': 10,
        'corpora': 'teamDrive',
        'teamDriveId': drive_id,
        'includeTeamDriveItems': True,
        'supportsTeamDrives': True}).GetList()))
google_file_ref.SetContentString(response.content.decode('utf-8'))
google_file_ref.Upload()
@shcheklein
Copy link
Member

I don't think we have an API to write to specific tab.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants