updated readme

This commit is contained in:
richard 2013-03-10 03:53:24 +00:00
parent f84d5bf311
commit 3743298f66
3 changed files with 10 additions and 2 deletions

View file

@ -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()

View file

@ -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']

View file

@ -30,7 +30,7 @@ def get_package_data(package):
setup(
name='mega.py',
version='0.8.5',
version='0.8.6',
packages=get_packages('mega'),
package_data=get_package_data('mega'),
description='Python lib for the Mega.co.nz API',