1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-04-13 11:50:53 +02:00
Vitaly the Alpaca (bot) 74bc9c33f0 Main build (Jenkins)
2024-12-09 15:33:55 +03:00

9 lines
433 B
Plaintext

Token = "ya29.a0AeDClZAfxs19DgmwOO8cVD3QKtotHfCNic5iCoPbnD8IzxjvXSUVVyCXTuWw9t0RG7seizlNqpNWBH7sHrQAyS0SeFgQ6chxYmOYUMDNc...";
Image = "https://api.athenaeum.digital/test_data/picture.jpg";
Directory = "1Q3vl7hcmdeJvd86jC84pdGKW5772apUy";
Description = OPI_GoogleDrive.GetFileDescription();
Description.Insert("Parent", Directory);
Result = OPI_GoogleDrive.UploadFile(Token, Image, Description);