Monday, 4 July 2016

nodejs access google drive



https://github.com/google/google-api-nodejs-client


http://masashi-k.blogspot.co.uk/2016/03/accessing-to-google-drive-using-google.html

get token
http://masashi-k.blogspot.co.uk/2013/07/accessing-to-my-google-drive-from-nodejs.html


http://masashi-k.blogspot.co.uk/2013/08/upload-image-file-to-google-drive.html

















we need back to the api key page to do some changes:



and this:























It will list all your files:






about code will upload file into your drive.






Note:   your refresh token on the playground page will expire after 3000 seconds, but the nodejs google api lib will keep requesting a new token for you.













No comments:

Post a comment