title: Importing JSON via Google Spreadsheet API
body: <p>I just want to pull my spreadsheet into an app/website.  Ideally, I'd like it to be private, but first I'm trying to bring in the data with the spreadsheet "available to the public" and "published to the web".  </p>
  
  <pre><code>$.ajax({
     type: 'GET',
     url: 'http://spreadsheets.google.com/feeds/cells/' + spreadsheetKey + '/od6/public/full?alt=json',
     success: function(data){
       alert("success");
     } 
   });
  </code></pre>
  
  <p>This always results in:</p>
  
  <p>"You do not have view access to the spreadsheet. Make sure you are properly authenticated."</p>
  
  <p>I've tried without ?alt=json, with 'list' instead of 'cells', and with 'values' instead of 'full'.  Nothing works.  </p>
  
  <p>Also, is there a way to pass the access token into this call?  I'm authenticating via Google Sign-In and allowing for Spreadsheet API scope.  I've tried &amp;accessToken=xxx and &amp;access_token=xxx.  The documentation doesn't have anything for Javascript.</p>