Skip to main content

yandex-disk

2 configuration options · available in Rust, Python, Node.js, Java

Quick start
use opendal::Operator;

let op = Operator::via_iter("yandex-disk", [
("access_token".to_string(), "...".to_string()),
])?;
All configuration options (copy & trim)
Full reference
use opendal::Operator;

let op = Operator::via_iter("yandex-disk", [
// root of this backend.
//
// All operations will happen under this root.
// ("root".to_string(), "...".to_string()),

// yandex disk oauth access_token.
("access_token".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.

Configuration reference

General2
KeyTypeRequiredDescription
rootstringnoroot of this backend. All operations will happen under this root.
access_tokenstringyesyandex disk oauth access_token.