Obtain the files to the API, then move it to your project
import pygis
Log into the session with
import pygis ms = pygis.magisSession(frontend, backend, webdav) ms.login(username, pwd)