An open API service indexing awesome lists of open source software.

https://github.com/rockscripts/react-native-google-drive-api-wrapper

Communicates with Google drive through this package.
https://github.com/rockscripts/react-native-google-drive-api-wrapper

android ios javascript mobile-development npm-package react-native

Last synced: about 2 months ago
JSON representation

Communicates with Google drive through this package.

Awesome Lists containing this project

README

          

Google Drive API Wrapper for React Native Applications



Communicates with Google drive through this package.


Give a donation and i will send full development manual, test application runing with this API Wrapper and remote support.





















Donate in Patreon



Tier:


https://bit.ly/2wzXPKQ


Donate Some Crypto



BITCOIN:


17nunWK3iF6vMav7aZV1s9jJTgNSBQiakr

ETHER:

0x1DF4dc4Da9563Eaa388E17FC441068dBd1587587


BITCOIN CASH:
qp98lzgt8dcuhfvxdv25wlr6eu6zapaajy6h38vg3g

Import and call methods


Import in your react native application.



import {GoogleDrive} from 'react-native-google-drive-api';




The follow methods are available:


Set Access Token



GoogleDrive._setAccessToken(myAccessToken);


Get Access Token



GoogleDrive._getAccessToken();


About



GoogleDrive._about([{name:'fields',value:'user,storageQuota'}]).then((responseAbout)=>
{
console.log(responseAbout)
});



Changes


getStartPageToken



GoogleDrive._changes_getStartPageToken([]).then((responseStartPageToken)=>
{
if(this.state.loaded==false)
{
this.setState({responseStartPageToken:responseStartPageToken,loaded:true})
}
});

list



GoogleDrive._changes_list([{'name':'pageToken','value':pageToken}]).then((responseList)=>
{
if(this.state.loaded==false)
{
this.setState({responseList:responseList,loaded:true})
}
});

watch



GoogleDrive._changes_watch([{'name':'pageToken','value':pageToken}]).then((responseWatch)=>
{
if(this.state.loaded==false)
{
this.setState({responseWatch:responseWatch,loaded:true})
}
});



Channels





Comments





Files





Permissions





Replies





Revisions





Teamdrives