5 configuration options · available in Rust, Python, Node.js, Java
use opendal::Operator;
let op = Operator::via_iter("dropbox", [
])?;
use opendal::Operator;
let op = Operator::via_iter("dropbox", [
// root path for dropbox.
// ("root".to_string(), "...".to_string()),
// access token for dropbox.
// ("access_token".to_string(), "...".to_string()),
// refresh_token for dropbox.
// ("refresh_token".to_string(), "...".to_string()),
// client_id for dropbox.
// ("client_id".to_string(), "...".to_string()),
// client_secret for dropbox.
// ("client_secret".to_string(), "...".to_string()),
])?;
Every option is passed as a string key; OpenDAL parses it into the right type. Some services may require building the binding with the matching services-* feature enabled.
| Key | Type | Required | Description |
|---|---|---|---|
root | string | no | root path for dropbox. |
access_token | string | no | access token for dropbox. |
refresh_token | string | no | refresh_token for dropbox. |
client_id | string | no | client_id for dropbox. |
client_secret | string | no | client_secret for dropbox. |