title: how to call a Google API
body: <p>I read the following two pages on Google:
  1) <a href="https://developers.google.com/google-apps/documents-list/#getting_a_list_of_documents_and_files" rel="nofollow">https://developers.google.com/google-apps/documents-list/#getting_a_list_of_documents_and_files</a>
  and
  2) <a href="https://developers.google.com/accounts/docs/OAuth2WebServer" rel="nofollow">https://developers.google.com/accounts/docs/OAuth2WebServer</a></p>
  
  <p>I can go as far as getting an access_token (OAuth2) to be used in a subsequent Google API call (I want to call Google Docs Listing or Google Drive).</p>
  
  <p>I wanted to use curl or something similar and just form my https URL.
  - As such in the 1st document states to form a URL as follows:
  https: //docs.google.com/feeds/default/private/full
  - In the 2nd document, the example states to use something like https: //www.googleapis.com/oauth2/v1/userinfo?access_token=xxxxx
  (adding the access token to the call)</p>
  
  <p>Several questions
  - Do I call googleapis.com or docs.google.com?
  - can I call https: //docs.google.com/feeds/default/private/full?access_token=xxxxx 
    just add the access token to the call?</p>
  
  <p>thanks</p>