Reputation: 208
I am using Google Drive API
in android for listing, uploading and downloading files of Google Drive and I have successfully implemented it.
Now i want User Storage Quota
like how much space user has used and how much is left. Can any one suggest me how to do that?
Upvotes: 0
Views: 423
Reputation: 9213
You can retrieve quota info from about
resource by making an authenticated call to
GET https://www.googleapis.com/drive/v2/about
which is going to return an about entity with quotaBytesTotal
and quotaBytesUsed
.
Upvotes: 4