- Install docker
- Run
npm start
- Open localhost:10101 in the browser
GET /api/status
- returns the status of the app
POST /api/urls/ {mega_url}
- sends the url to the backend
DELETE /api/urls/{url_id}
- deletes a url from the history
GET /api/categories/
- get a list of categories supported by the server
POST /api/categories/ {name}
$ sudo apt install \
swig libfreeimage-dev libcurl4-openssl-dev libc-ares-dev libsqlite3-dev \
libsodium-dev libcrypto++-dev libtool libssl-dev python3.7-dev \
python3-wheel
$ git clone https://github.com/meganz/sdk.git
$ cd sdk
$ ./autogen.sh
$ PYTHON_VERSION=3.7 ./configure \
--disable-silent-rules \
--enable-python \
--disable-examples \
--with-python3
$ make
$ cd bindings/python/
$ python setup.py bdist_wheel
$ pip install dist/megasdk-*.whl