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)
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.0.tar.gz
(11.3 kB
view details)
Built Distribution
File details
Details for the file ixbrowser_local_api-1.2.0.tar.gz
.
File metadata
- Download URL: ixbrowser_local_api-1.2.0.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6434f41cbfe91b9a11781448d14a5e1d759d41ccf7967ddf3578cdca8a1e82d2 |
|
MD5 | b5d3b5a22223bf2fde30439f3edbfc8f |
|
BLAKE2b-256 | e089e1dea44bf116cd5167bc70d12c9b993d74e753d8392eedd2d5b15131ea33 |
File details
Details for the file ixbrowser_local_api-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: ixbrowser_local_api-1.2.0-py3-none-any.whl
- Upload date:
- Size: 12.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4a542012e41b465e070133a6c85f7ffde1dacdcf7a7d9c3650a0e9478025274 |
|
MD5 | c003c3e7f1b2b6adfce0b3e4dc0d47a3 |
|
BLAKE2b-256 | bc3f962d56faa674e94785fbc5cc5e6958bc788a0c8237482db3e8bf47f13432 |