Multilogin Local REST API can be used in order to start, stop, share, clone browser profile/-s. You can also check if the profile is already running on your machine by using checkProfileRunning endpoint and import cookies by using cookieImportJSON/cookieImportNetscape endpoint.
This Python package is automatically generated by the Swagger Codegen project:
- API version: 1.0
- Package version: 1.0.0
- Build package: io.swagger.codegen.languages.PythonClientCodegen
Python 2.7 and 3.4+
If the python package is hosted on Github, you can install directly from Github
pip install git+https://github.com//.git(you may need to run pip with root permission: sudo pip install git+https://github.com//.git)
Then import the package:
import multiloginlocal Install via Setuptools.
python setup.py install --user(or sudo python setup.py install to install the package for all users)
Then import the package:
import multiloginlocalPlease follow the installation procedure and then run the following:
from __future__ import print_function
import time
import multiloginlocal
from multiloginlocal.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = multiloginlocal.MiscApi(multiloginlocal.ApiClient(configuration))
profile_id = 'profile_id_example' # str | Browser profile ID
try:
# checkProfileRunning
api_instance.active_get(profile_id)
except ApiException as e:
print("Exception when calling MiscApi->active_get: %s\n" % e)All URIs are relative to http://localhost.multiloginapp.com:35000/api/v1/profile
| Class | Method | HTTP request | Description |
|---|---|---|---|
| MiscApi | active_get | GET /active | checkProfileRunning |
| MiscApi | by_profile_id_get | GET /clone | cloneProfile |
| MiscApi | cookies_import_netscape_get | POST /cookies/import/netscape | cookieImportNetscape |
| MiscApi | cookies_import_webext_get | POST /cookies/import/webext | cookieImportJSON |
| MiscApi | share_get | GET /share | shareProfile |
| MiscApi | start_get | GET /start | startProfile |
| MiscApi | stop_get | GET /stop | stopProfile |
- CloneOkResonse
- CookieJSONExample
- CookieNetscapeExample
- MainErrorResponse
- MainOkResponse
- ProfileActiveErrorResponse
- ProfileActiveOkResponse
All endpoints do not require authorization.