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) 1fd7784de2 Main build (Jenkins)
2025-01-12 13:07:21 +03:00

9 lines
432 B
Plaintext
Vendored

Token = "ya29.a0ARW5m7702-Ib_bOq69krqD5iUx89SC2lxGPxRJoBjqvSBqE7uKghOyAjwrL7ebNf6xqPzwD4wQfZlFvBrb7QsWlw5PGW_SvkFr57Y8Js...";
Image = "https://api.athenaeum.digital/test_data/picture.jpg";
Directory = "11Mo30odYPEtBBU_0OndFx5dz1kP7tu-Y";
Description = OPI_GoogleDrive.GetFileDescription();
Description.Insert("Parent", Directory);
Result = OPI_GoogleDrive.UploadFile(Token, Image, Description);