1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-01-14 04:35:49 +02:00
OpenIntegrations/docs/en/examples/GoogleDrive/UploadFile.txt
Vitaly the Alpaca (bot) 3d69233029 Main build (Jenkins)
2024-12-01 22:17:07 +03:00

9 lines
433 B
Plaintext

Token = "ya29.a0AeDClZDBAhcHhRnzTqGNDzFc9KoF8h_HV7t_FQZrrjb63ar_-dA8RF1YxBh-9dRuJZfcl57ZqzQ3m3GGGYHPEYtJvPLF7Z-jZ5_LhjcVp...";
Image = "https://api.athenaeum.digital/test_data/picture.jpg";
Directory = "191iyaa6-2BCNRPOF0F8mQ0TuNWPNesdM";
Description = OPI_GoogleDrive.GetFileDescription();
Description.Insert("Parent", Directory);
Result = OPI_GoogleDrive.UploadFile(Token, Image, Description);