Skip to content Skip to sidebar Skip to footer

How Can I Get Fileid Or Parentid In Python Google-drive Apis ??

such as from this example below https://developers.google.com/drive/v2/reference/files/get how/where can i retrieve fileId to use this code? the method require fileId as its parame

Solution 1:

You would use the list() function to find the list of files in the domain, probably specifying the q attribute to search/query for certain files: https://developers.google.com/drive/v2/reference/files/list

the returned files resource has an id parameter you can use to get the individual file and perform updates, sharing, etc.

https://developers.google.com/drive/v2/reference/files#resource

Post a Comment for "How Can I Get Fileid Or Parentid In Python Google-drive Apis ??"