Skip to content

lusi1990/multilogin_local_api

Repository files navigation

swagger-client

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

Requirements.

Python 2.7 and 3.4+

Installation & Usage

pip install

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 

Setuptools

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 multiloginlocal

Getting Started

Please 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)

Documentation for API Endpoints

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

Documentation For Models

Documentation For Authorization

All endpoints do not require authorization.

Author

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published