React Native Google Drive API Wrapper
1.0.0
Se comunica con Google Drive a través de este paquete.
![]() | ![]() |
![]() | ![]() |
Donar en PatreonNivel:
https://bit.ly/2wzxpkq
Donar un poco de criptoBitcoin:
17nunwk3if6vmav7azv1s9jjtgnsbqiakr
ÉTER:
0x1df4dc4da9563eaa388e17fc441068dbd1587587
Bitcoin Cash:
QP98LZGT8DCUHFVXDV25WLR6EU6ZAPAAJY6H38VG3G
import {googledrive} de 'react-native-google-drive-api';
Los siguientes métodos están disponibles:
Googledrive._setaccessToken (myaccesstoken);
Googledrive._getAccessToken ();
Googledrive._about ([{nombre: 'Fields', valor: 'Usuario, Storagequota'}]). Entonces ((ResponseAbout) =>
{
console.log (ResponseAbout)
});
getStartpageToken
Googledrive._changes_getstartpageToken ([]). Entonces ((ResponseStoTPageToken) =>
{
if (this.state.loaded == falso)
{
this.setState ({ResponseStArtPageToken: ResponseStArtPageToken, Cargado: True})
}
});
lista
Googledrive._changes_list ([{'name': 'PageToken', 'Value': PageToken}]). Entonces ((ResponseSist) =>
{
if (this.state.loaded == falso)
{
this.setState ({ResponseList: ResponseList, Loaded: True})
}
});
mirar
Googledrive._changes_watch ([{'name': 'PageToken', 'Value': PageToken}]). Entonces ((ResponseWatch) =>
{
if (this.state.loaded == falso)
{
this.setState ({ResponseWatch: ResponseWatch, Carged: True})
}
});