title: Upload user file to google drive through django web application
body: <p>I want to use Google Drive as storage for my Django project (in particular I need to store images taken by users). What I'm trying to achieve is the following:</p>
  
  <ul>
  <li><p>Users upload their images using a form. These files must be somehow routed through Django which redirects them to Google Drive using Google Drive API. The reason I do not send the files directly from the user's browser to Google Drive is that I should store on the client side the secrey key to access Google Drive API (which, of course, must not be directly accessible by the end users).</p></li>
  <li><p>Once uploaded, I must be able to display the images in a gallery on my site.</p></li>
  </ul>
  
  <p>So far I've read Google Drive API documentation and, in particular, I've managed to accomplish the <a href="https://developers.google.com/drive/v2/web/quickstart/python" rel="nofollow noreferrer">quickstart</a> using OAuth2 for server to server applications, see <a href="https://developers.google.com/identity/protocols/OAuth2ServiceAccount#overview" rel="nofollow noreferrer">here</a> (the quickstart covers the case where files are uploaded to user's Google Drive folder so there is an intermediate step of user authentication that I do not need; instead, I'm using a service account to authorize my api requests).</p>
  
  <p>SIDE QUESTIONS:</p>
  
  <ul>
  <li><p>Is there a way to access in a browsable way the list of files uploaded by the users to Google Drive through the API or the API is the only interface to them? Can I access them using a UI similar to the one of my own Google Drive account?</p></li>
  <li><p>Also, I'm new to Google services and developer console seems to me quite a mess... I haven't understood how much disk space is available to me and how/if this storage space is related to my own Google Drive account.  </p></li>
  </ul>