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

9 lines
433 B
Plaintext
Raw Normal View History

2025-06-17 16:20:59 +03:00
 Token = "ya29.a0AW4XtxgOTUonqiJAYqYtxcBh8MI1VxhOH0B9hCii3RQaZlp1PVWulwBqV-y7CkKAad7Ofs4NlHXhJ3-Qe1lj4xEd-ubK_QpjEkbdCVoUW...";
2024-10-15 10:07:27 +03:00
Image = "https://api.athenaeum.digital/test_data/picture.jpg";
2025-06-17 16:20:59 +03:00
Directory = "191iyaa6-2BCNRPOF0F8mQ0TuNWPNesdM";
2024-09-28 19:38:00 +03:00
Description = OPI_GoogleDrive.GetFileDescription();
Description.Insert("Parent", Directory);
Result = OPI_GoogleDrive.UploadFile(Token, Image, Description);