Modules@robinpath/onedrive
@robinpath/onedrive
0.1.1PublicOneDrive module for RobinPath.
@robinpath/onedrive
OneDrive module for RobinPath.
Why use this module?
The onedrive module lets you:
- listChildren
- getItem
- getItemByPath
- createFolder
- deleteItem
All functions are callable directly from RobinPath scripts with a simple, consistent API.
Installation
npm install @robinpath/onedrive
Quick Start
1. Set up credentials
onedrive.setCredentials "your-credentials"
2. listChildren
onedrive.listChildren
Available Functions
| Function | Description |
|---|---|
onedrive.setCredentials | Configure onedrive credentials. |
onedrive.listChildren | listChildren |
onedrive.getItem | getItem |
onedrive.getItemByPath | getItemByPath |
onedrive.createFolder | createFolder |
onedrive.deleteItem | deleteItem |
onedrive.moveItem | moveItem |
onedrive.copyItem | copyItem |
onedrive.uploadFile | uploadFile |
onedrive.downloadFile | downloadFile |
onedrive.searchFiles | searchFiles |
onedrive.createSharingLink | createSharingLink |
onedrive.listSharedWithMe | listSharedWithMe |
onedrive.getPermissions | getPermissions |
onedrive.getDriveInfo | getDriveInfo |
onedrive.listDrives | listDrives |
onedrive.getRecentFiles | getRecentFiles |
onedrive.getThumbnails | getThumbnails |
onedrive.uploadLargeFile | uploadLargeFile |
Examples
listChildren
onedrive.listChildren
getItem
onedrive.getItem
getItemByPath
onedrive.getItemByPath
Integration with RobinPath
import { RobinPath } from "@wiredwp/robinpath";
import Module from "@robinpath/onedrive";
const rp = new RobinPath();
rp.registerModule(Module.name, Module.functions);
rp.registerModuleMeta(Module.name, Module.functionMetadata);
const result = await rp.executeScript(`
onedrive.setCredentials "your-credentials"
onedrive.listChildren
`);
Full API Reference
See MODULE.md for complete documentation including all parameters, return types, error handling, and advanced examples.
Related Modules
@robinpath/s3— Amazon S3 module for complementary functionality@robinpath/dropbox— Dropbox module for complementary functionality@robinpath/box— Box module for complementary functionality@robinpath/google-drive— Google Drive module for complementary functionality@robinpath/json— JSON module for complementary functionality
License
MIT
Versions (1)
| Version | Tag | Published |
|---|---|---|
| 0.1.1 | latest | yesterday |
Related Modules
devops
0
@robinpath/bitbucket
v0.1.1robinpath
Bitbucket module for RobinPath.
0 downloads
...
devops
0
@robinpath/box
v0.1.1robinpath
Box module for RobinPath.
0 downloads
...
devops
0
@robinpath/cache
v0.1.1robinpath
In-memory key-value cache with optional TTL expiration for temporary data storage
0 downloads
...
devops
0
@robinpath/cloudflare
v0.1.1robinpath
Cloudflare module for RobinPath.
0 downloads
...
Install
$ robinpath install @robinpath/onedrive Version0.1.1
LicenseMIT
Unpacked Size4.7 KB
Versions1
Weekly Downloads0
Total Downloads0
Stars0
Last Publishyesterday
Createdyesterday

