#protocol #api #mega #web

mega

A client API library for interacting with MEGA

5 unstable releases

new 0.4.1 May 25, 2023
0.4.0 Apr 12, 2023
0.3.0 Apr 9, 2023
0.2.1 Apr 2, 2023
0.1.0 Jun 30, 2017

#1361 in Web programming

Download history 2/week @ 2023-02-06 3/week @ 2023-02-13 1/week @ 2023-02-20 21/week @ 2023-02-27 1/week @ 2023-03-13 1/week @ 2023-03-20 14/week @ 2023-03-27 27/week @ 2023-04-03 43/week @ 2023-04-10 9/week @ 2023-04-17 2/week @ 2023-04-24 1/week @ 2023-05-01 15/week @ 2023-05-08 4/week @ 2023-05-15 37/week @ 2023-05-22

57 downloads per month

MIT/Apache

89KB
2K SLoC

MEGA API Rust Client

version docs license

This is an API client library for interacting with MEGA's API using Rust.

Features

  • Login with MEGA
    • MFA support
  • Get storage quotas
  • Listing nodes
  • Downloading nodes
  • Uploading nodes
  • Creating folders
  • Renaming, moving and deleting nodes
  • Timeout support
  • Retries (exponential-backoff) support
  • Parallel connections (downloading/uploading multiple file chunks in parallel)
  • Downloading thumbnails and preview images
  • Uploading thumbnails and preview images
  • Shared links support
    • Downloading from shared links
    • Uploading to shared folders
    • Create shared links to owned nodes
  • Server-to-Client events support

Examples

You can see examples of how to use this library by looking at the different examples available.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~8–17MB
~345K SLoC