Speed up development with full-stack environments for every branch.

Learn More

List files on Google Drive

2598 Runs 8989 Views 1381 Copies
Saved

Saved

sundip 66

sundip
published 5 years ago


  
  

List files on Google Drive

A code example written in node.js that lists all files on your Google Drive, while making use of the following:

  • express - a web framework module used to serve up static content and handle routes

  • request - a HTTP request client module used to make calls to Twitter's API

  • qs - a querystring parser used to encode JSON to querystring parameters

Project contents

  • server.js - contains the node.js code used to call the Google Drive API to create a new file

  • oauth.js - contains the functions used to complete OAuth flow for authenticating and authorizing access to Google Drive

  • index.html - initial html page loaded that displays the Google login button

  • package.json - holds various metadata relevant to the project such as identifying dependencies

Please login/signup to get access to the terminal.

Your session has timed out.

Dismiss (the page may not function properly).