I want to get all my mega.nz account folders names

I'm pretty new on Python and mega.nz api and I want to get all of my mega folder NAMES. I done this:

files = m.get_files() print(files) 

And my output is this:

'5Xxl1YpK': {'h': '5Xxl1YpK', 'p': '5apkxBRK', 'u': 'HeQAbozUSnY', 't': 1, 'a': {'n': 'MAIN'}, 'k': (236358726, 3714021502, 3609314937, 957702177), 'ts': 1649753591, 'shared_folder_key': (1341100632, 611479631, 4161937411, 5464436), 'key': (236358726, 3714021502, 3609314937, 957702177)} 

I just want the name of de folder ("MAIN") and i don't know how to get it because it's not a normal dictionary. Thank's for help !

Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like