Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gapi.load('client', function(){
- gapi.client.load('drive', 'v3', function(){
- gapi.client.init({}
- ).then(function(){
- gapi.client.drive.files.list({
- 'q' : "name contains 'nv'",
- 'pageSize' : 10,
- 'fields' : "nextPageToken, files(id, name, webContentLink, folderColorRgb, thumbnailLink, description)",
- 'orderBy' : 'modifiedTime desc',
- }).then(function(respo){
- var token = respo.result.nextPageToken;
- gapi.client.drive.files.list({
- 'fields' : '*',
- 'pageToken' : token
- }).then(function(result){console.log(result.result);})
- })
- })
- })
- })
Add Comment
Please, Sign In to add comment