iterative / iterative/PyDrive2

Is there any way to download a particular version of a Google Drive file? (from file history)

Offen
#107 1 Kommentar 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
feature request question
Vorherrschende Sprache
Python
Sterne
670
Forks
75
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Not sure if there could be two different branches of this question (I guess both they might work in a different way):

- Google Docs, Google Presentations or Google Sheets (at least) do store history of the file changes and permit to go back in time (user can select one old version and get back to it).
Would it be possible to download a non-last version of a Google sheet using PyDrive ?

- Google Drive permits to keep versions of user-uploaded files (i.e., a PDF or image file, which you can reupload modified and let Drive store multiple-versions or only the last one).
Would it be possible to download an archived version (not just the last one) using PyDrive ?

https://developers.google.com/drive/api/v3/change-overview
https://developers.google.com/drive/api/v3/manage-revisions

Some other Python projects which might benefit from this:
https://github.com/burnash/gspread/issues/294

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne mit der Dokumentation der Google Drive API zur Verwaltung von Revisionen und den vorhandenen Einstiegspunkten für den Dateidownload in PyDrive2. Prüfe, ob Revisions-IDs über den Wrapper sowohl für native Google-Dokumente als auch für hochgeladene Dateien übergeben werden können. Als abgeschlossen gilt ein bestätigter unterstützter Workflow oder ein klar abgegrenzter Feature-Request mit eindeutigen Anforderungen an Tests und Dokumentation.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
api, cloud
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
30/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.