The heart piece ofpython-glinetis theGlInetclass. It is manages authentication, session and communication with the api. In case you modified the router default settings such as ip-address or username you need to pass them as parameter (see the documentation of theGlInetclass for more details)...