GoogleDriveApi
1.0.0
include '/path/to/ GoogleDriveApi / GoogleDriveApi .php';
new GoogleDriveApi ()
생성할 때 자격 증명에 대한 경로를 매개변수로 보냅니다. logOut()
getEmail()
listFiles($fields = "files(id, name, owners)")
createFolder($name, $parentId = "root")
uploadFile($fullName, $mimeType, $fullPath, $parentId = "root")
uploadFileBasic($name, $type, $extension, $pathToFileDir, $parentId = "root")
createFile($fullName, $mimeType, $parentId = "root")
createFileBasic($name, $type, $extension, $parentId = "root")
moveFile($fileId, $folderId)
downloadFile($fileId)
testFilesOwners()
setVerifiedOwner($ids)