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.1.1.tar.gz
(10.9 kB
view details)
Built Distribution
File details
Details for the file ixbrowser_local_api-1.1.1.tar.gz
.
File metadata
- Download URL: ixbrowser_local_api-1.1.1.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbdc51cc6174bb586f99ab6b524356f2ce273bdec6a14d80bc3429c50979ec6e |
|
MD5 | 53f4584f1c5531fd8c6967775bee6607 |
|
BLAKE2b-256 | b175c1381a3513d63a85ba67e35f8b61c78e05493a23ee0b935b5524e8425227 |
File details
Details for the file ixbrowser_local_api-1.1.1-py3-none-any.whl
.
File metadata
- Download URL: ixbrowser_local_api-1.1.1-py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fc28c76abb48f642e457476c7427ec1ccdf0e4ac78c02fe922074508f86855b |
|
MD5 | d7487eeeb9654a5dfceb485e7079bb06 |
|
BLAKE2b-256 | 26cd028bd93446bfdc3212dc251083e79c7f25a74ac3e7935e239e7e9ee178cf |