added get_quota() and get_balance()
This commit is contained in:
parent
83b1de1662
commit
f84d5bf311
2 changed files with 3 additions and 3 deletions
|
@ -273,7 +273,7 @@ class Mega(object):
|
|||
node_data = self.api_request({'a': 'f', 'f': 1, 'p': public_handle})
|
||||
node_id = None
|
||||
|
||||
#determine node id
|
||||
#determine node id
|
||||
for i in node_data['f']:
|
||||
if i['h'] is not u'':
|
||||
node_id = i['h']
|
||||
|
|
4
tests.py
4
tests.py
|
@ -2,8 +2,8 @@ from mega import Mega
|
|||
|
||||
def test():
|
||||
#user details
|
||||
email = 'richard@richard.do'
|
||||
password = 'fofput2'
|
||||
email = 'your@email.com'
|
||||
password = 'password'
|
||||
|
||||
mega = Mega()
|
||||
|
||||
|
|
Loading…
Reference in a new issue