This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const parentFolderId = "ID"; // The ID of the main parent folder where files are initially dropped | |
const parentFolder = DriveApp.getFolderById(parentFolderId); | |
const parentName = parentFolder.getName() | |
const files = parentFolder.getFiles(); | |
function moveFiles() { | |
while (files.hasNext()) { | |
const file = files.next(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import json | |
import base64 | |
import logging | |
import hashlib | |
import requests | |
from flask import request, Response | |
from OpenSSL import crypto | |
logger = logging.getLogger(__name__) |