Skip to content

jdstroy/java_mega_api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

Mega.co.nz API for Java (and Android)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 99.6%
  • Shell 0.4%