title: Python: adding comments to specific cell using Drive API
body: <p>I am trying to automate some simple updating of a Google spreadsheet and I'm using the <a href="https://github.com/burnash/gspread" rel="nofollow noreferrer"><code>gspread</code></a> library to do so. One task that is critical and not currently supported by <code>gspread</code> is the ability to add comments to a specific cell (there's <a href="https://github.com/burnash/gspread/issues/50" rel="nofollow noreferrer">an open issue</a> for this and even a gist solution but I was getting a <code>404</code> error when trying to use it).</p>
  
  <p>I know that the Google Drive API (v3) supports adding comments as <a href="https://developers.google.com/drive/v3/web/manage-comments" rel="nofollow noreferrer">described here</a>, but I'm having issues with authenticating and could use some help.</p>
  
  <h2>What I have/know:</h2>
  
  <p>I have already setup the OAuth 2.0 and registered for the API through Google, as well as have the <code>client_secret.json</code> in my directory, but my knowledge of web requests and responses is limited so going through the Drive API documentation hardly makes sense. I know in order to create the comments I will have to make use of anchors and specify the cell location using column/row numbers.</p>
  
  <h2>What I'm stuck on:</h2>
  
  <p>When using the Google API Explorer, I'm getting a <code>400</code> error with the message: <code>The 'fields' parameter is required for this method.</code> How can I make the POST request using my authentication? I think from there I'd be able to actually add the comments myself.</p>