Skip to content

Mageas/rs-uptobox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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;

About

Rust wrapper crate around the Uptobox API.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages