1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-29 22:27:42 +02:00
Files
OpenIntegrations/docs/en/examples/GoogleDrive/UploadFile.txt
Vitaly the Alpaca (bot) 967cf7acbe Main build (Jenkins)
2025-06-06 22:27:44 +03:00

9 lines
433 B
Plaintext
Vendored

Token = "ya29.a0AW4Xtxjy2T4evVSaQ2ueBHlGucx28X7k_4t63XiK5jTJ-jVAbNTzJAkE7LpDAgybZM3Z7Whw0WpzzJZKjwnTVkjC5ESUO3_hOaZgIfThx...";
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);