Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 707 Bytes

README.md

File metadata and controls

27 lines (15 loc) · 707 Bytes

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)