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
Built Distribution
File details
Details for the file ixbrowser-local-api-1.0.7.tar.gz
.
File metadata
- Download URL: ixbrowser-local-api-1.0.7.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e5148cc61057aa11ad53469b9861d4a3969ea7478aa27541fb5dd99b48c8d32 |
|
MD5 | 156b88957283f867cd7926b66e0bca93 |
|
BLAKE2b-256 | eef9fd61ec094662a64d1fdc4ce3d3ba2c212cdc7e27fa1936e926348c592b49 |
File details
Details for the file ixbrowser_local_api-1.0.7-py3-none-any.whl
.
File metadata
- Download URL: ixbrowser_local_api-1.0.7-py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2c150f40e675425b26638f391e082ea1bf3ec6c4a1a75db41091703a317d5f4 |
|
MD5 | 4e28375f408ef3c6b54f4fc8eeaf36e7 |
|
BLAKE2b-256 | 2324cf4668dd0556fe55d9f160bc065219c2a14d78fdb2ba62e35c13f711fab3 |