You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Mageas d6399190ff
Update: add metadata for cargo
2 weeks ago
src Update: doc 2 weeks ago
.gitignore first commit 3 weeks ago
Cargo.toml Update: add metadata for cargo 2 weeks ago
LICENSE Add: LICENSE 2 weeks ago
README.md Add: README 2 weeks ago

README.md

rs-uptobox

This crate is a wrapper around the uptobox api.

Details

// Get the files of //dev
let res = uptobox.get_files(&GetFiles::new("//dev")).await;

// Get the files of //dev with an order_by, an offset and a limit
let res = uptobox
    .get_files(
        &GetFiles::new("//dev")
            .order_by(OrderBy::FileSize)
            .offset(2)
            .limit(50),
    )
    .await;

// Move the files to a folder
let res = uptobox
    .move_files(vec!["file_id_1", "file_id_2"], 000000000)
    .await;