updated readme
parent
f84d5bf311
commit
3743298f66
|
@ -33,6 +33,14 @@ m = mega.login(email, password)
|
|||
```python
|
||||
details = m.get_user()
|
||||
```
|
||||
### Get account balance (Pro accounts only)
|
||||
```python
|
||||
balance = m.get_balance()
|
||||
```
|
||||
### Get account disk quota
|
||||
```python
|
||||
quota = m.get_quota()
|
||||
```
|
||||
### Get account files
|
||||
```python
|
||||
files = m.get_files()
|
||||
|
|
|
@ -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']
|
||||
|
|
Loading…
Reference in New Issue