1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-12-01 22:29:52 +02:00
Files
OpenIntegrations/docs/en/examples/GoogleDrive/UploadFile.txt

11 lines
483 B
Plaintext
Raw Normal View History

2025-10-29 21:59:54 +03:00
 Token = "ya29.a0ATi6K2vDW-Vv1H04Laa7CH4aF_93Z7LtfD1VoGLPCWCYErIG_1l_DAwwozCcosZGjJ8Pw0i45BG5ojbNDczD3Iskrwrl_K7jf7N7dHe0f5kYLvKyhDmT3AO2m...";
2025-10-21 11:36:43 +03:00
Image = "https://hut.openintegrations.dev/test_data/picture.jpg";
2025-10-29 21:59:54 +03:00
Directory = "11Mo30odYPEtBBU_0OndFx5dz1kP7tu-Y";
2024-09-28 19:38:00 +03:00
2025-09-16 15:56:31 +03:00
Clear = False;
Description = OPI_GoogleDrive.GetFileDescription(Clear);
2024-09-28 19:38:00 +03:00
Description.Insert("Parent", Directory);
Result = OPI_GoogleDrive.UploadFile(Token, Image, Description);