-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Docs for Google Drive API need update, and more examples. #531
Comments
@stephanepiriou Can you be specific with what changes you're looking for? We unfortunately, haven't migrated the Drive API code from developers.google.com to GitHub yet. Some upload samples for python are here: Please state 1-2 specific things you want added or changed. |
I'd like to see:
Thanks muchly! :) |
I would like to see also an example of updating a file |
Greetings, we're closing this due to inactivity. Please let us know if the issue needs to be reopened. |
I think this issue needs to be reopened - I don't see any of the changes reflected in the Drive API -> https://developers.google.com/drive/api/v3/quickstart/python. As we aren't Google employees, we are not empowered to do a PR or similar, so I'm not sure how there is expected to be any activity? |
Thanks! |
PLEASE add more examples for different operations..... : ( |
Hi @Uttkarsh09, I'll update this thread once I have an ETA from the team working on the Google Drive Samples. Googlers see b/190226456 and b/185393300 for updates. |
It's 2022, four years later and the documentation and repo for v3 still don't have any code samples for most [all?] things. Things that ought to work raise or return errors. e.g. service = build('permissions', 'v3', credentials=creds) raises googleapiclient.errors.UnknownApiNameOrVersion: name: permissions version: v3 The only documentation for these are HTTP methods. Please update the documentation with code samples and put code samples in the repo. |
The samples for Google Drive live in a different repository : https://github.com/googleworkspace/python-samples I'm going to close this issue as a duplicate of googleworkspace/python-samples#237. If you encounter an issue with google-api-python-client, please click here to open a new issue. If you'd like to follow up on samples for Google Drive v3, please add a comment to this issue. |
To make it short, the doc in python for the version 3 of the API, at least regarding Google Drive, is lacking. The same apply for other langages.
There is 1 example on github, from 2012, for the API v2, and that's it. The only update was for a typo in the readme.
The official doc in google developer pages for V3 doesn't say much despite the number of pages and is lacking example too. You have to look at V2 API to get approximative code which return errors and need a few changes to work.
All in all, You have to put little inconsistent pieces of code from here and there one after another to figure out how it works, even for basic operation like uploading a file.
To resume this rant, the current official doc is poorly designed, doesn't help much and need more exhaustive examples and updated codes.
The text was updated successfully, but these errors were encountered: