Wrapper around the Mega API. Based on the work of Julien Marchand.
Install using pip
, including any optional packages you want...
$ pip install python-mega
...or clone the project from github.
$ git clone git@juanriaza/python-mega.git
$ cd python-mega
$ pip install -r requirements.txt
With your credentials:
from mega import Mega email = 'kim@dot.com' password = 'olakase' m = Mega.from_credentials(email, password)
…or you can use an ephemeral account:
m = Mega.from_ephemeral()
And fire some requests:
# list of files files = m.get_files() # download a file m.download_file(file_id, file_key) # upload a file m.uploadfile('/home/kim/mega/secret_plans') # download from an url m.download_from_url('https://mega.co.nz/#!wYo3AYZC!Zwi1f3ANtYwKNOc07fwuN1enOoRj4CreFouuGqi4D6Y')
31th Jan 2012
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4