Mega.co.nz API for Java (and Android)
Java Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
android_mega_api
android_mega_api_test
mega_api
.gitignore
.project
LICENSE.md
README.md
pom.xml

README.md

java_mega_api

mega.co.nz API for java or android.

WORK IN PROGRESS!

To test this code get an api key from https://mega.co.nz/#sdk and run the maven command "mvn -DMEGA_API_KEY=your_key test" to open a command line shell.

To step through some of the existing functionality you can use the following commands:

  1. "login [username] [password]"
  2. "get [top level file name]" (downloads a top level file into a directory)
  3. "whoami" (prints session information)

So you can basically login and download a file. The session is persisted in a megatest_session.json file in the current directory, (as well as your command line history in a megatest_history.txt file)