A client of ixBrowser local api
Project description
ixBrowser Local API
ixBrowser local API V2.0 official python version
README.md
Installation
- pypi install
pip install ixbrowser-local-api
- Source code install
git clone https://github.com/ixspyinc/ixbrowser-local-api-python.git
cd ixbrowser-local-api-python
python setup.py install
Usage
Basic usage
import random
from ixbrowser_local_api import IXBrowserClient
c = IXBrowserClient()
data = c.get_profile_list()
if data is None:
print('Get profile list error:')
print('Error code=', c.code)
print('Error message=', c.message)
else:
item = random.choice(data)
profile_id = item['profile_id']
print('Random choice profile_id=', profile_id)
open_result = c.open_profile(profile_id, cookies_backup=False, load_profile_info_page=False)
if open_result is None:
print('Open profile error:')
print('Error code=', c.code)
print('Error message=', c.message)
else:
print(open_result)
# open_result contains "webdriver" and "debugging_address" fields, which can be used for integration with Selenium or Playwright etc.
Advance use
For detailed usage, please refer to the files in the /examples directory.
API document
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ixbrowser_local_api-1.2.3.tar.gz
(13.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ixbrowser_local_api-1.2.3.tar.gz.
File metadata
- Download URL: ixbrowser_local_api-1.2.3.tar.gz
- Upload date:
- Size: 13.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a7cc8a52aeaa2a566e3239c9f4fd07d29893e4219980e165b4f35dddaef2086
|
|
| MD5 |
d38f8e3c12ffb66f9d07c8a3032ca715
|
|
| BLAKE2b-256 |
acb9b2e35246ff2f82068ce1c81e1a3d7de4a0296b1e1eceb1834f4aa702b63e
|
File details
Details for the file ixbrowser_local_api-1.2.3-py3-none-any.whl.
File metadata
- Download URL: ixbrowser_local_api-1.2.3-py3-none-any.whl
- Upload date:
- Size: 14.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
203581d7505726f665c9da6d5e1e46726b056cb56acf028b5303fae722d98077
|
|
| MD5 |
e8cffb97aef28654f96d27639c77ef18
|
|
| BLAKE2b-256 |
cdfcde97066e46b00e27b9fe29edb208ca4f44b9f69ce80259442c1121012ebb
|