1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-27 22:18:36 +02:00
Files
OpenIntegrations/docs/en/examples/GoogleDrive/UploadFile.txt

9 lines
433 B
Plaintext
Raw Normal View History

2025-03-17 22:58:06 +03:00
 Token = "ya29.a0AeXRPp7yIYtWir0wC7l09O27fzCyaFxBylix9NPJ_QNA1wB4QVUrG4U7Fr2QSwtfnWG7ZYf6VNrnekZ-jXtryEWp_DVIDnn_y8ABtqeWr...";
2024-10-15 10:07:27 +03:00
Image = "https://api.athenaeum.digital/test_data/picture.jpg";
2025-03-17 22:58:06 +03:00
Directory = "11Mo30odYPEtBBU_0OndFx5dz1kP7tu-Y";
2024-09-28 19:38:00 +03:00
Description = OPI_GoogleDrive.GetFileDescription();
Description.Insert("Parent", Directory);
Result = OPI_GoogleDrive.UploadFile(Token, Image, Description);