

get_storage_space ( kilo = True ) Get account files files = m. get_quota () Get account storage space # specify unit output kilo, mega, gig, else bytes will output space = m. get_balance () Get account disk quota quota = m.

get_user () Get account balance (Pro accounts only) balance = m. login ( email, password ) # login using a temporary anonymous account m = mega. py Import mega.py from mega import Mega Create an instance of Mega.py mega = Mega () Login to Mega m = mega. Run the following command, or run setup from the latest github source.

This is a work in progress, further functionality coming shortly.įor more detailed information see API_INFO.md How To Use Create a Mega accountįirst, create an account with Mega.
